diff options
Diffstat (limited to 'gui/newgui.cpp')
-rw-r--r-- | gui/newgui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp index 385d68cc88..9c1015b0c5 100644 --- a/gui/newgui.cpp +++ b/gui/newgui.cpp @@ -332,11 +332,11 @@ void NewGui::openDialog(Dialog *dialog) { _theme->refresh(); // refresh all dialogs for (int i = 0; i < _dialogStack.size(); ++i) { - _dialogStack[i]->reflowLayout(); + _dialogStack[i]->reflowLayout(); } } else { - dialog->reflowLayout(); - } + dialog->reflowLayout(); + } } void NewGui::closeTopDialog() { |