mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 10:13:42 +02:00
Fix #292
This commit is contained in:
parent
1a15073b78
commit
795978b017
1 changed files with 2 additions and 2 deletions
|
|
@ -145,7 +145,7 @@ def job_added(self, id):
|
|||
text = src.replace(str(num), str(nnum))
|
||||
jobs.setText(text)
|
||||
if self.movie_button.movie.state() == QMovie.Paused:
|
||||
self.movie_button.movie.start()
|
||||
self.movie_button.movie.setPaused(False)
|
||||
|
||||
def job_done(self, id):
|
||||
jobs = self.movie_button.jobs
|
||||
|
|
@ -160,7 +160,7 @@ def job_done(self, id):
|
|||
def no_more_jobs(self):
|
||||
if self.movie_button.movie.state() == QMovie.Running:
|
||||
self.movie_button.movie.jumpToFrame(0)
|
||||
self.movie_button.movie.stop()
|
||||
self.movie_button.movie.setPaused(True)
|
||||
|
||||
if __name__ == '__main__':
|
||||
# Used to create the animated status icon
|
||||
|
|
|
|||
Loading…
Reference in a new issue