mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix diff standalone window being a dialog window instead of a normal window
This commit is contained in:
parent
35d4f21b98
commit
c0e83a4ff1
@ -490,8 +490,10 @@ def main(args=sys.argv):
|
|||||||
d = Diff(show_as_window=True)
|
d = Diff(show_as_window=True)
|
||||||
func = getattr(d, attr)
|
func = getattr(d, attr)
|
||||||
QTimer.singleShot(0, lambda : func(left, right))
|
QTimer.singleShot(0, lambda : func(left, right))
|
||||||
d.exec_()
|
d.show()
|
||||||
|
app.exec_()
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user