mirror of
https://github.com/aclist/dztui.git
synced 2026-08-29 11:17:12 +02:00
fix: move call to other func def
This commit is contained in:
parent
117814ad61
commit
35804df4df
@ -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):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user