From dbe6809ebb448ef5c4f849ea15a97c50f56b87f6 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 23 Jan 2010 22:12:26 +0900 Subject: [PATCH] only reshow the deck browser on change --- ankiqt/ui/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ankiqt/ui/main.py b/ankiqt/ui/main.py index a87d9590d..beb29d1c5 100755 --- a/ankiqt/ui/main.py +++ b/ankiqt/ui/main.py @@ -1255,7 +1255,7 @@ later by using File>Close. help="DeckBrowser"): self.config['recentDeckPaths'].remove(self.browserDecks[c]['path']) del self.browserDecks[c] - self.showDeckBrowser() + self.showDeckBrowser() def onDeckBrowserDelete(self, c): deck = self.browserDecks[c]['path'] @@ -1263,7 +1263,7 @@ later by using File>Close. del self.browserDecks[c] os.unlink(deck) self.config['recentDeckPaths'].remove(deck) - self.showDeckBrowser() + self.showDeckBrowser() # Opening and closing the app ##########################################################################