mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
GUI: Fix SaveLoadDialog
It was SavesSyncRequest's target even when closed.
This commit is contained in:
parent
052d8bf0ae
commit
659dcd9702
@ -165,6 +165,11 @@ void SaveLoadChooserDialog::open() {
|
||||
_dialogWasShown = false;
|
||||
}
|
||||
|
||||
void SaveLoadChooserDialog::close() {
|
||||
CloudMan.setSyncTarget(nullptr); //not that dialog, at least
|
||||
Dialog::close();
|
||||
}
|
||||
|
||||
int SaveLoadChooserDialog::run(const Common::String &target, const MetaEngine *metaEngine) {
|
||||
_metaEngine = metaEngine;
|
||||
_target = target;
|
||||
|
@ -73,6 +73,7 @@ public:
|
||||
virtual ~SaveLoadChooserDialog();
|
||||
|
||||
virtual void open();
|
||||
virtual void close();
|
||||
|
||||
virtual void reflowLayout();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user