Fixed Project Manager to enable save/restore of the window geometry so its window position/sizing will be restored after it is closed/re-launched. Also improved WindowDecorationWrapper logic to center by default when using the showFromSettings API for first time launch.
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
This commit is contained in:
@@ -661,6 +661,10 @@ namespace AzQtComponents
|
||||
if (!restoreGeometryFromSettings())
|
||||
{
|
||||
show();
|
||||
|
||||
// If we failed to restore from settings (the first time this window is loaded),
|
||||
// then center it on the screen by default
|
||||
centerOnScreen(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user