Bug 342160

Summary: Menu state not updated when restarting from a paused game
Product: [Applications] kmahjongg Reporter: Jan-Peter Nilsson <kdebugs>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: kde-games-bugs-null, schwarzer
Priority: NOR    
Version First Reported In: 0.8   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Update menu state when restarting a paused game

Description Jan-Peter Nilsson 2014-12-23 16:25:13 UTC
Selecting Restart Game from a paused game resets the game but does not update the enabled/disabled state of menu options such a new/save/load.

Reproducible: Always

Steps to Reproduce:
1. Start a game
2. Pause the game
3. Select Restart Game from the Game menu

Actual Results:  
The game is reset and unpaused but the menu state is not updated so new/load/save is not available.

Expected Results:  
The menu state should be updated so that new/load/save is available.

The menu states are updated when removing any pair of tiles, so it will be sorted out after the first move.
Comment 1 Jan-Peter Nilsson 2014-12-23 23:53:08 UTC
Created attachment 90108 [details]
Update menu state when restarting a paused game
Comment 2 Frederik Schwarzer 2016-01-04 00:34:13 UTC
The fix for this made it to the master branch now.

Please test and reopen this in case you think it's not fixed properly.