mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 23:12: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.suspended = canonifyTags(joinTags(suspended + ["Suspended"]))
|
||||||
self.parent.deck.setModified()
|
self.parent.deck.setModified()
|
||||||
self.parent.deck.updateProgress(_("Processing..."))
|
self.parent.deck.updateProgress(_("Processing..."))
|
||||||
|
self.parent.deck.updateAllPriorities(partial=True)
|
||||||
self.parent.reset()
|
self.parent.reset()
|
||||||
saveGeom(self, "activeTags")
|
saveGeom(self, "activeTags")
|
||||||
self.parent.deck.finishProgress()
|
self.parent.deck.finishProgress()
|
||||||
|
|
|
@ -2059,6 +2059,7 @@ day = :d""", d=yesterday)
|
||||||
self.busyCursor = True
|
self.busyCursor = True
|
||||||
|
|
||||||
def unsetBusy(self):
|
def unsetBusy(self):
|
||||||
|
if self.busyCursor:
|
||||||
self.app.restoreOverrideCursor()
|
self.app.restoreOverrideCursor()
|
||||||
self.busyCursor = None
|
self.busyCursor = None
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue