fix #648 (focus problem in debugger)

This commit is contained in:
thrust26 2020-06-04 09:55:13 +02:00
parent effcfd7ae6
commit 79a12351ce
2 changed files with 3 additions and 0 deletions

View File

@ -112,6 +112,8 @@ string DebuggerParser::run(const string& command)
if(validateArgs(i)) if(validateArgs(i))
{ {
myCommand = i; myCommand = i;
if(commands[i].refreshRequired)
debugger.baseDialog()->saveConfig();
commands[i].executor(this); commands[i].executor(this);
} }

View File

@ -251,6 +251,7 @@ void DebuggerDialog::handleCommand(CommandSender* sender, int cmd,
break; break;
case kDDOptionsCmd: case kDDOptionsCmd:
saveConfig();
myOptions->open(); myOptions->open();
loadConfig(); loadConfig();
break; break;