Verified Commit f5e66cab authored by M. Sandoval's avatar M. Sandoval 🥑
Browse files

main_window: Move setup_action invocation

It makes sense to be called on init.
parent be50b435
......@@ -86,7 +86,6 @@ class Application(Gtk.Application):
icon_name=self.application_id)
self.setup_actions()
self.window.setup_actions()
self.add_global_accelerators()
self.window.present()
......
......@@ -53,6 +53,7 @@ class MainWindow(Handy.ApplicationWindow):
self._main_overlay.add_overlay(self._notification)
self.assemble_window()
self.setup_actions()
if Gio.Application.get_default().development_mode is True:
passwordsafe.config_manager.set_development_backup_mode(True)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment