From 27f49e6bc7e5ee9e83550d471e95cace52ccfc44 Mon Sep 17 00:00:00 2001 From: skomoroh Date: Sun, 6 Mar 2011 07:01:06 +0000 Subject: [PATCH] * fixed bug #3007453 git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@266 efabe8c0-fbe8-4139-b769-b5e6d273206e --- pysollib/actions.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pysollib/actions.py b/pysollib/actions.py index de0e7450..056c037d 100644 --- a/pysollib/actions.py +++ b/pysollib/actions.py @@ -467,8 +467,9 @@ class PysolMenubar(PysolMenubarTk): self.game._mahjonggShuffle() def mFindCard(self, *args): - create_find_card_dialog(self.game.top, self.game, - self.app.getFindCardImagesDir()) + if self.game.canFindCard(): + create_find_card_dialog(self.game.top, self.game, + self.app.getFindCardImagesDir()) def mSolver(self, *args): create_solver_dialog(self.game.top, self.app)