mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
only unset cursor if set
This commit is contained in:
parent
e7f64eab1c
commit
f763a3d06b
2 changed files with 4 additions and 2 deletions
|
@ -50,6 +50,7 @@ class ActiveTagsChooser(QDialog):
|
|||
self.parent.deck.suspended = canonifyTags(joinTags(suspended + ["Suspended"]))
|
||||
self.parent.deck.setModified()
|
||||
self.parent.deck.updateProgress(_("Processing..."))
|
||||
self.parent.deck.updateAllPriorities(partial=True)
|
||||
self.parent.reset()
|
||||
saveGeom(self, "activeTags")
|
||||
self.parent.deck.finishProgress()
|
||||
|
|
|
@ -2059,8 +2059,9 @@ day = :d""", d=yesterday)
|
|||
self.busyCursor = True
|
||||
|
||||
def unsetBusy(self):
|
||||
self.app.restoreOverrideCursor()
|
||||
self.busyCursor = None
|
||||
if self.busyCursor:
|
||||
self.app.restoreOverrideCursor()
|
||||
self.busyCursor = None
|
||||
|
||||
# Advanced features
|
||||
##########################################################################
|
||||
|
|
Loading…
Reference in a new issue