aboutsummaryrefslogtreecommitdiff
path: root/gui/onscreendialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/onscreendialog.cpp')
-rw-r--r--gui/onscreendialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/onscreendialog.cpp b/gui/onscreendialog.cpp
index 7d348d720d..6b6fa2c66b 100644
--- a/gui/onscreendialog.cpp
+++ b/gui/onscreendialog.cpp
@@ -51,15 +51,15 @@ enum {
};
void OnScreenDialog::reflowLayout() {
- GuiObject::reflowLayout();
+ Dialog::reflowLayout();
+
+ _x = _y = 0;
}
void OnScreenDialog::releaseFocus() {
}
OnScreenDialog::OnScreenDialog(bool isRecord) : Dialog("OnScreenDialog") {
- _x = _y = 0;
-
#ifndef DISABLE_FANCY_THEMES
if (g_gui.xmlEval()->getVar("Globals.OnScreenDialog.ShowPics") == 1 && g_gui.theme()->supportsImages()) {
GUI::PicButtonWidget *button;