aboutsummaryrefslogtreecommitdiff
path: root/gui/fluidsynth-dialog.cpp
diff options
context:
space:
mode:
authorBastien Bouclet2018-01-06 16:13:29 +0100
committerBastien Bouclet2018-01-27 18:12:34 +0100
commit5878c618c931f6c600dda0b156d96f909013779b (patch)
tree1345c8957c22e654508405d3ed764dd71506844b /gui/fluidsynth-dialog.cpp
parentfc37918130d8539ee57be014108729e8aca6e3f8 (diff)
downloadscummvm-rg350-5878c618c931f6c600dda0b156d96f909013779b.tar.gz
scummvm-rg350-5878c618c931f6c600dda0b156d96f909013779b.tar.bz2
scummvm-rg350-5878c618c931f6c600dda0b156d96f909013779b.zip
GUI: Remove Dialog::markAsDirty to expose full GUI redraws
Diffstat (limited to 'gui/fluidsynth-dialog.cpp')
-rw-r--r--gui/fluidsynth-dialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/fluidsynth-dialog.cpp b/gui/fluidsynth-dialog.cpp
index fb729971ed..921449eee8 100644
--- a/gui/fluidsynth-dialog.cpp
+++ b/gui/fluidsynth-dialog.cpp
@@ -21,6 +21,7 @@
*/
#include "gui/fluidsynth-dialog.h"
+#include "gui/gui-manager.h"
#include "gui/message.h"
#include "gui/widgets/tab.h"
#include "gui/widgets/popup.h"
@@ -218,7 +219,7 @@ void FluidSynthSettingsDialog::handleCommand(CommandSender *sender, uint32 cmd,
if (alert.runModal() == GUI::kMessageOK) {
resetSettings();
readSettings();
- markAsDirty();
+ g_gui.scheduleTopDialogRedraw();
}
break;
}