InputTextDialog used in debugger RamWidget wasn't closing properly

on exit; it attempted to close the debugger dialog instead!


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2775 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2013-07-30 21:43:20 +00:00
parent 4958e87c3e
commit 189f10f201
3 changed files with 8 additions and 4 deletions

View File

@ -23,6 +23,10 @@
- Fixed bug in display of current TIA frame in the UI; depending on
how breakpoints were set, it was sometimes off by one.
- Fixed RAM widget Search/Compare textboxes; entering any data and
then pressing 'Enter' / clicking 'OK' locked the UI until exiting
and re-entering the debugger.
- Changed display for various TIA position counters to decimal
(from hex) in the TIA tab. Related to this, all data input
widgets in the UI now have the ability to enter binary,

View File

@ -227,7 +227,7 @@ void RamWidget::handleCommand(CommandSender* sender, int cmd, int data, int id)
if(result != "")
myInputBox->setTitle(result);
else
dialog().close();
myInputBox->close();
break;
}
@ -237,7 +237,7 @@ void RamWidget::handleCommand(CommandSender* sender, int cmd, int data, int id)
if(result != "")
myInputBox->setTitle(result);
else
dialog().close();
myInputBox->close();
break;
}

View File

@ -477,8 +477,8 @@ void GameInfoDialog::loadView()
else
{
myMouseControl->setSelectedIndex(1);
myMouseX->setSelected(Variant(mcontrol[0] - '0'));
myMouseY->setSelected(Variant(mcontrol[1] - '0'));
myMouseX->setSelected(mcontrol[0] - '0');
myMouseY->setSelected(mcontrol[1] - '0');
}
myMouseX->setEnabled(!autoAxis);
myMouseY->setEnabled(!autoAxis);