Skip to content

Commit

Permalink
Add missing window geometry deserialization
Browse files Browse the repository at this point in the history
Removed in last commits by mistake
  • Loading branch information
iamsergio committed Mar 22, 2024
1 parent 7ad43e5 commit fb32d48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/LayoutSaver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,7 @@ bool LayoutSaver::restoreLayout(const QByteArray &data)
// If window is normal and we're restoring it to maximized, then set geometry 1st
// so its normal geometry gets remembered, only then maximize

d->deserializeWindowGeometry(mw, window);
window->setWindowState(mw.windowState);
} else {
d->deserializeWindowGeometry(mw, window);
Expand Down

0 comments on commit fb32d48

Please sign in to comment.