aboutsummaryrefslogtreecommitdiff
path: root/gui/filebrowser-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/filebrowser-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/filebrowser-dialog.cpp')
-rw-r--r--gui/filebrowser-dialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/filebrowser-dialog.cpp b/gui/filebrowser-dialog.cpp
index 95fc4d9e0a..0c7f55a46e 100644
--- a/gui/filebrowser-dialog.cpp
+++ b/gui/filebrowser-dialog.cpp
@@ -30,6 +30,7 @@
#include "common/translation.h"
#include "gui/widgets/list.h"
+#include "gui/gui-manager.h"
#include "gui/message.h"
namespace GUI {
@@ -154,7 +155,7 @@ void FileBrowserDialog::updateListing() {
_fileList->scrollTo(0);
// Finally, redraw
- markAsDirty();
+ g_gui.scheduleTopDialogRedraw();
}
} // End of namespace GUI