mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
only reshow the deck browser on change
This commit is contained in:
parent
09b3016462
commit
dbe6809ebb
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
##########################################################################
|
||||
|
|
Loading…
Reference in a new issue