mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-08-23 16:02:33 +00:00
Refactor unnecessary else
/ elif
when if
block has a return
statement (#413)
This commit is contained in:
commit
9c34278725
1 changed files with 1 additions and 2 deletions
|
@ -115,8 +115,7 @@ class GradienceMainWindow(Adw.ApplicationWindow):
|
||||||
buglog("Window close request")
|
buglog("Window close request")
|
||||||
self.get_application().show_exit_dialog()
|
self.get_application().show_exit_dialog()
|
||||||
return True
|
return True
|
||||||
else:
|
self.close()
|
||||||
self.close()
|
|
||||||
|
|
||||||
def on_monet_file_chooser_response(self, widget, response):
|
def on_monet_file_chooser_response(self, widget, response):
|
||||||
if response == Gtk.ResponseType.ACCEPT:
|
if response == Gtk.ResponseType.ACCEPT:
|
||||||
|
|
Loading…
Reference in a new issue