Skip to content

Commit

Permalink
Fixed remembering of last position and size when dialog is minimized/…
Browse files Browse the repository at this point in the history
…maximized/hidden (thanks Uno)
  • Loading branch information
sebdeckers committed Sep 22, 2010
1 parent e37a6db commit 98b67a9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Client/src/main/SaveCommonProfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ function SaveCommonProfile ()
Data.Add( 'welcomescreen', external.globals( 'welcomescreen' ) );
Data.Add( 'welcomesettings', external.globals( 'welcomesettings' ) );

// Querying position/size requires the main dialog to be visible.
external.wnd.restore();

if ( external.IsRectOnMonitor(
external.wnd.top,
external.wnd.left + external.globals( 'lastwidth' ),
Expand Down

0 comments on commit 98b67a9

Please sign in to comment.