diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2012-02-07 18:05:22 +0100 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2012-02-07 18:12:13 +0100 |
commit | 04a3cdd669726389b3b10c5d2da5440262e3765d (patch) | |
tree | aac416bf675cb90062a67d362809a214cca3541d | |
parent | 5d45a5ee002a1a6d67e88e7eece2b5a650baf8cf (diff) | |
download | mana-04a3cdd669726389b3b10c5d2da5440262e3765d.tar.gz mana-04a3cdd669726389b3b10c5d2da5440262e3765d.tar.bz2 mana-04a3cdd669726389b3b10c5d2da5440262e3765d.tar.xz mana-04a3cdd669726389b3b10c5d2da5440262e3765d.zip |
Fixed debug window not saving its position and size
Spotted-by: cody.
Reviewed-by: bjorn.
-rw-r--r-- | src/gui/debugwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/debugwindow.cpp b/src/gui/debugwindow.cpp index 2b511d72..d2fd4a29 100644 --- a/src/gui/debugwindow.cpp +++ b/src/gui/debugwindow.cpp @@ -220,16 +220,16 @@ DebugWindow::DebugWindow() { setupWindow->registerWindowForReset(this); + setWindowName("Debug"); setResizable(true); setCloseButton(true); setMinWidth(100); setMinHeight(100); setDefaultSize(0, 120, 300, 190); - loadWindowState(); TabbedArea *tabs = new TabbedArea; place(0, 0, tabs, 2, 2); - widgetResized(NULL); + loadWindowState(); Tab *tabInfo = new Tab; tabInfo->setCaption(_("Info")); |