From 04a3cdd669726389b3b10c5d2da5440262e3765d Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Tue, 7 Feb 2012 18:05:22 +0100 Subject: Fixed debug window not saving its position and size Spotted-by: cody. Reviewed-by: bjorn. --- src/gui/debugwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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")); -- cgit v1.2.3-70-g09d2