Qt saved game selection
This fixes the Qt popup widget for selecting among saved games. The character name from each applicable save file is shown in a button and clicking on one of those buttons restores corresponding file. Previously all the buttons were written on top of each other so only the final name was visible and the button for the initial name received the click. The widget also has [quit] and [new game] buttons. This fixes restoring an existing save file if no character name is supplied on the command line in the options. It does not fix the problem where picking [new game] remembers the file name of the last saved game in the popup's list and overwrites that file (after requesting confirmation to do so) if/when you eventually save. The resulting file will contain the character just saved but be named for the earlier one. It may not be obvious because on subsequent restores it will list names from inside the files rather than deduce those from file names, so the clobbered/ misnamed file will just show up as the former new character.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.342 $ $NHDT-Date: 1603741470 2020/10/26 19:44:30 $
|
||||
NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.343 $ $NHDT-Date: 1603777052 2020/10/27 05:37:32 $
|
||||
|
||||
General Fixes and Modified Features
|
||||
-----------------------------------
|
||||
@@ -459,6 +459,9 @@ Qt: status icons for alignment|hunger|encumbrance which started out centered
|
||||
relative to the label text below them would shift to being left
|
||||
justified when status got updated
|
||||
Qt: handle '&' properly if it occurs as part of yn_function popup dialog
|
||||
Qt: fix the display side of saved game selection; character names for
|
||||
available save files are shown in a column of push buttons instead
|
||||
of each button overwriting all the ones before it
|
||||
Qt+OSX: fix control key
|
||||
Qt+OSX: rename menu entry "nethack->Preferences..." for invoking nethack's
|
||||
'O' command to "Game->Run-time options" and entry "Game->Qt settings"
|
||||
|
||||
Reference in New Issue
Block a user