diff options
Diffstat (limited to 'gui')
-rw-r--r-- | gui/options.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/options.cpp b/gui/options.cpp index b5557275e6..7caef1f885 100644 --- a/gui/options.cpp +++ b/gui/options.cpp @@ -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; |