aboutsummaryrefslogtreecommitdiff
path: root/gui/dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/dialog.cpp')
-rw-r--r--gui/dialog.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/dialog.cpp b/gui/dialog.cpp
index aeb2e1ad90..ed6958b568 100644
--- a/gui/dialog.cpp
+++ b/gui/dialog.cpp
@@ -25,6 +25,7 @@
#include "gui/gui-manager.h"
#include "gui/dialog.h"
+#include "gui/ThemeEval.h"
#include "gui/widget.h"
namespace GUI {
@@ -104,6 +105,10 @@ void Dialog::reflowLayout() {
// changed, so any cached image may be invalid. The subsequent redraw
// should be treated as the very first draw.
+ if (!_name.empty()) {
+ g_gui.xmlEval()->reflowDialogLayout(_name, _firstWidget);
+ }
+
GuiObject::reflowLayout();
Widget *w = _firstWidget;