We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e03171 commit de76dc3Copy full SHA for de76dc3
Source/MainWindow.cpp
@@ -400,8 +400,8 @@ void MainWindow::saveWindowBounds()
400
XmlElement* bounds = new XmlElement ("BOUNDS");
401
bounds->setAttribute ("x", documentWindow->getScreenX());
402
bounds->setAttribute ("y", documentWindow->getScreenY());
403
- bounds->setAttribute ("w", documentWindow->getContentComponent()->getWidth());
404
- bounds->setAttribute ("h", documentWindow->getContentComponent()->getHeight());
+ bounds->setAttribute ("w", documentWindow->getWidth());
+ bounds->setAttribute ("h", documentWindow->getHeight());
405
bounds->setAttribute ("fullscreen", documentWindow->isFullScreen());
406
407
xml->addChildElement (bounds);
0 commit comments