GNOME Bugzilla – Bug 613077
Game is restarted if Settings/Preferences is opened
Last modified: 2014-02-03 21:08:28 UTC
Hello, I played a game of gnobots2 and already got to level 40. Then I clicked Settings/Preferences and.. the game restarted! No confirmation, no abort, no undo; my level 40 game was gone! :-( Suggested fix: Add a new button "OK" to the preferences dialog and rename the other to "Abort". * If the user presses Abort: don't save the settings, don't restart the game, exit dialog. * Else if the user presses OK: ** If the user changed the Game Type: *** If in level 1: restart without confirmation, save new settings, exit dialog. *** Else: get confirmation from user (popup window) **** confirm: restart the game, save new settings, exit dialog. **** abort: don't save anything, don't restart the game, exit dialog. ** else (the user did not change game type): save new settings, don't restart game, exit dialog. Thanks in advance :-)
Oh dearie me, this is really something else....
Mario, since you volunteered (hehe), want to take a look at this one?
Yeah, fixed that in master. Extremely low risk, therefore I've also cherry-picked that to 3.10.