Permalink
Browse files

Fixed remembering of last position and size when dialog is minimized/…

…maximized/hidden (thanks Uno)
  • Loading branch information...
1 parent e37a6db commit 98b67a911f439cc410a216ffee9882abe6d69929 @sebdeckers sebdeckers committed Sep 22, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 Client/src/main/SaveCommonProfile.js
@@ -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' ),

0 comments on commit 98b67a9

Please sign in to comment.