mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
MDI Window geometry: Added missing initalization of maximized state
This commit is contained in:
parent
b00ad4ba4a
commit
ea5b4a7ceb
@ -28,7 +28,7 @@ class RimMdiWindowController;
|
||||
|
||||
struct RimMdiWindowGeometry
|
||||
{
|
||||
RimMdiWindowGeometry() : mainWindowID(-1), x(0), y(0), width(-1), height(-1) {}
|
||||
RimMdiWindowGeometry() : mainWindowID(-1), x(0), y(0), width(-1), height(-1), isMaximized(false) {}
|
||||
bool isValid() const { return (mainWindowID >= 0 && width >= 0 && height >= 0);}
|
||||
|
||||
int mainWindowID;
|
||||
|
Loading…
Reference in New Issue
Block a user