mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 22:52:42 +01:00
fix: move call to other func def
This commit is contained in:
1 parent
117814ad61
commit
35804df4df
1 file changed
+1
-2
+1
-2
@@ -899,7 +899,7 @@ class OuterWindow(Gtk.Window):
|
|||||||
|
|
||||||
def halt_proc_and_quit(self, window, event):
|
def halt_proc_and_quit(self, window, event):
|
||||||
self.grid.terminate_treeview_process()
|
self.grid.terminate_treeview_process()
|
||||||
Gtk.main_quit()
|
save_res_and_quit(self.win)
|
||||||
|
|
||||||
|
|
||||||
class ScrollableTree(Gtk.ScrolledWindow):
|
class ScrollableTree(Gtk.ScrolledWindow):
|
||||||
@@ -2459,7 +2459,6 @@ class App(Gtk.Application):
|
|||||||
Gtk.main()
|
Gtk.main()
|
||||||
|
|
||||||
def _halt_window_subprocess(self, accel_group, window, code, flag):
|
def _halt_window_subprocess(self, accel_group, window, code, flag):
|
||||||
save_res_and_quit(self.win)
|
|
||||||
self.win.halt_proc_and_quit(self, None)
|
self.win.halt_proc_and_quit(self, None)
|
||||||
|
|
||||||
def save_res_and_quit(window):
|
def save_res_and_quit(window):
|
||||||
|
|||||||
Reference in new issue
Block a user