From 12ca8c55357d55bf5f6e4e9c6a4cb850dcc8c71f Mon Sep 17 00:00:00 2001 From: Juhani Numminen Date: Mon, 2 Mar 2020 14:09:14 +0200 Subject: [PATCH] Playable preview: swap incorrect actions for Rules and Cancel buttons Line 435 assigns id 10 (not 1) to the Rules button. --- pysollib/tile/selectgame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pysollib/tile/selectgame.py b/pysollib/tile/selectgame.py index dc1f1001..1f2a2c4f 100644 --- a/pysollib/tile/selectgame.py +++ b/pysollib/tile/selectgame.py @@ -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