fixed the quit dialogue not being cancellable

This commit is contained in:
Lynne Megido 2020-08-24 01:23:09 +10:00
parent a087bbb6a4
commit ccaf759dea
Signed by: lynnesbian
GPG key ID: F0A184B5213D9F90

View file

@ -270,6 +270,7 @@ class BuypeebApp:
prompt.format_secondary_text("Are you sure you want to quit buypeeb?") prompt.format_secondary_text("Are you sure you want to quit buypeeb?")
response = prompt.run() response = prompt.run()
prompt.destroy()
if response == Gtk.ResponseType.OK: if response == Gtk.ResponseType.OK:
self.shutdown(self) self.shutdown(self)