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,7 +115,6 @@ class GradienceMainWindow(Adw.ApplicationWindow):
|
|||
buglog("Window close request")
|
||||
self.get_application().show_exit_dialog()
|
||||
return True
|
||||
else:
|
||||
self.close()
|
||||
|
||||
def on_monet_file_chooser_response(self, widget, response):
|
||||
|
|
Loading…
Reference in a new issue