mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-10-06 09:37:52 +00:00
Refactor unnecessary else
/ elif
when if
block has a return
statement
This commit is contained in:
parent
c7bc91ee58
commit
ce924f6f32
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