mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix proceed dialog pops up multiple times
This commit is contained in:
parent
67ba10d3bf
commit
76aabcd46d
@ -255,8 +255,8 @@ class ProceedQuestion(QWidget):
|
|||||||
button = self.action_button if question.focus_action and question.action_callback is not None else \
|
button = self.action_button if question.focus_action and question.action_callback is not None else \
|
||||||
(self.bb.button(self.bb.Ok) if question.show_ok else self.bb.button(self.bb.Yes))
|
(self.bb.button(self.bb.Ok) if question.show_ok else self.bb.button(self.bb.Yes))
|
||||||
button.setDefault(True)
|
button.setDefault(True)
|
||||||
self.raise_()
|
self.raise_()
|
||||||
self.start_show_animation()
|
self.start_show_animation()
|
||||||
|
|
||||||
def start_show_animation(self):
|
def start_show_animation(self):
|
||||||
if self.rendered_pixmap is not None:
|
if self.rendered_pixmap is not None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user