Bug 342160 - Menu state not updated when restarting from a paused game
Summary: Menu state not updated when restarting from a paused game
Status: RESOLVED FIXED
Alias: None
Product: kmahjongg
Classification: Applications
Component: general (show other bugs)
Version: 0.8
Platform: Compiled Sources Linux
: NOR minor
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-23 16:25 UTC by Jan-Peter Nilsson
Modified: 2016-01-04 00:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Update menu state when restarting a paused game (698 bytes, patch)
2014-12-23 23:53 UTC, Jan-Peter Nilsson
Details

Note You need to log in before you can comment on or make changes to this bug.
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.