aboutsummaryrefslogtreecommitdiff
path: root/gui/options.h
diff options
context:
space:
mode:
authorAlexander Tkachev2019-07-19 18:01:09 +0700
committerMatan Bareket2019-07-30 14:51:41 -0400
commita9d47a163ea625782517125f8aa31735039985a0 (patch)
tree410745bca275f152349bf777f2cc5b1a6f6c04c2 /gui/options.h
parenta1b847a1ef2ef88ba1ea8c1001cc650dfebcf5a2 (diff)
downloadscummvm-rg350-a9d47a163ea625782517125f8aa31735039985a0.tar.gz
scummvm-rg350-a9d47a163ea625782517125f8aa31735039985a0.tar.bz2
scummvm-rg350-a9d47a163ea625782517125f8aa31735039985a0.zip
GUI: Fix Cloud tab scrolling problem
GlobalOptionsDialog is now also a CommandSender, so it could send command "scroll to the top" when storage is disconnected in Cloud tab (layout updates, that's why scrolling is needed).
Diffstat (limited to 'gui/options.h')
-rw-r--r--gui/options.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/options.h b/gui/options.h
index c10dcca77c..fe9c93c411 100644
--- a/gui/options.h
+++ b/gui/options.h
@@ -237,7 +237,7 @@ protected:
};
-class GlobalOptionsDialog : public OptionsDialog {
+class GlobalOptionsDialog : public OptionsDialog, public CommandSender {
public:
GlobalOptionsDialog(LauncherDialog *launcher);
~GlobalOptionsDialog();