Pressing 'Default' in "Power-on options" now saves the settings.

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2807 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2013-08-20 20:04:33 +00:00
parent d48f9e6f49
commit b0d243fef9
2 changed files with 6 additions and 5 deletions

View File

@ -14,14 +14,14 @@
3.9 to 3.9.1: (August xx, 2013)
* Note: because of TIA changes, the state file format has changed again,
and old state files will not work with this release.
* Note: because of TIA/6502 changes, the state file format has changed
again, and old state files will not work with this release.
* Several bugfixes and improvements to the debugger:
- Improved display of debugger when using larger video modes. There
are now three font sizes, which are automatically selected when
the debugger is sized accordingly. When using larger fonts, the
space is now used more efficiently.
extra space is now used more efficiently.
- Fixed bug in disassembly when the mirror used for the current
PC didn't match the mirror for the current bank. In this case,
@ -74,7 +74,7 @@
Thanks to Tjoppen of AtariAge for this idea and sample code.
- The 'Source Address' locations for the CPU registers now show
labels when appropriate.
labels where appropriate.
* Renamed 'Override properties' dialog (accessible from the ROM
launcher by a right-mouse-button click) to 'Power-on options', with

View File

@ -170,7 +170,7 @@ GlobalPropsDialog::GlobalPropsDialog(GuiObject* boss, const GUI::Font& font)
b = new ButtonWidget(this, font, 10, _h - buttonHeight - 10,
buttonWidth, buttonHeight, "Defaults", kDefaultsCmd);
wid.push_back(b);
addOKCancelBGroup(wid, font, "Load ROM");
addOKCancelBGroup(wid, font, "Load ROM", "Close");
addToFocusList(wid);
}
@ -332,6 +332,7 @@ void GlobalPropsDialog::handleCommand(CommandSender* sender, int cmd,
case kDefaultsCmd:
setDefaults();
saveConfig();
break;
default: