mirror of https://github.com/stella-emu/stella.git
fix #648 (focus problem in debugger)
This commit is contained in:
parent
effcfd7ae6
commit
79a12351ce
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue