CTRL+W and CTRL+Q stops local instance before closing the app

This commit is contained in:
jeffser
2024-08-11 13:23:34 -06:00
parent 3b95d369b8
commit fd92a86c5e
2 changed files with 2 additions and 1 deletions

View File

@@ -345,6 +345,7 @@ class AlpacaWindow(Adw.ApplicationWindow):
else:
logger.info("Closing app...")
local_instance.stop()
self.get_application().quit()
@Gtk.Template.Callback()
def model_spin_changed(self, spin):