mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-08 10:51:11 +00:00
GUI: Make Cloud tab wizard input box cleanup value
Now input box does not remember old code you've put in it if you changed selected storage or disconnected one.
This commit is contained in:
parent
28c93ed027
commit
a1b847a1ef
@ -2208,6 +2208,8 @@ void GlobalOptionsDialog::handleCommand(CommandSender *sender, uint32 cmd, uint3
|
||||
break;
|
||||
}
|
||||
case kPopUpItemSelectedCmd: {
|
||||
if (_storageWizardCodeBox)
|
||||
_storageWizardCodeBox->setEditString("");
|
||||
// update container's scrollbar
|
||||
reflowLayout();
|
||||
break;
|
||||
@ -2298,6 +2300,9 @@ void GlobalOptionsDialog::handleCommand(CommandSender *sender, uint32 cmd, uint3
|
||||
break;
|
||||
}
|
||||
case kDisconnectStorageCmd: {
|
||||
if (_storageWizardCodeBox)
|
||||
_storageWizardCodeBox->setEditString("");
|
||||
|
||||
if (_selectedStorageIndex == CloudMan.getStorageIndex() && CloudMan.isWorking()) {
|
||||
bool cancel = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user