mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 00:36:38 -04:00
fix ctrl+c handler
This commit is contained in:
parent
ff1745e374
commit
d34ee6822f
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ title="%s">%s</button>''' % (
|
||||||
signal.signal(signal.SIGINT, self.onSigInt)
|
signal.signal(signal.SIGINT, self.onSigInt)
|
||||||
|
|
||||||
def onSigInt(self, signum, frame):
|
def onSigInt(self, signum, frame):
|
||||||
self.close()
|
self.onQuit()
|
||||||
|
|
||||||
def setupProgress(self):
|
def setupProgress(self):
|
||||||
self.progress = aqt.progress.ProgressManager(self)
|
self.progress = aqt.progress.ProgressManager(self)
|
||||||
|
|
Loading…
Reference in a new issue