mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Playable preview: swap incorrect actions for Rules and Cancel buttons
Line 435 assigns id 10 (not 1) to the Rules button.
This commit is contained in:
parent
6016a6a5c1
commit
12ca8c5535
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@ class SelectGameDialog(MfxDialog):
|
|||
if button == 0: # Ok or double click
|
||||
self.gameid = self.tree.selection_key
|
||||
self.tree.n_expansions = 1 # save xyview in any case
|
||||
if button == 1: # Rules
|
||||
if button == 10: # Rules
|
||||
doc = self.app.getGameRulesFilename(self.tree.selection_key)
|
||||
if not doc:
|
||||
return
|
||||
|
|
Loading…
Add table
Reference in a new issue