mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-01 16:56:38 +02:00
- Fixed bug that causes app to close prematurely in some cases
This commit is contained in:
@@ -752,8 +752,8 @@ class MyWindow(Gtk.Window):
|
||||
if openWin and self.get_title() == "Keyboard Assistant":
|
||||
openWin = False
|
||||
win.show_all()
|
||||
else:
|
||||
Gtk.main_quit()
|
||||
elif self.get_title() == "Keyboard Assistant":
|
||||
Gtk.main_quit()
|
||||
|
||||
self.hide()
|
||||
self.destroy()
|
||||
@@ -1357,5 +1357,6 @@ win = MyWindow()
|
||||
win.connect("delete-event", Gtk.main_quit)
|
||||
if openWin:
|
||||
win.show_all()
|
||||
openWin = False
|
||||
|
||||
Gtk.main()
|
Reference in New Issue
Block a user