mirror of
https://github.com/DYefremov/DemonEditor.git
synced 2026-01-17 13:03:10 +01:00
small adjustment (#201)
This commit is contained in:
@@ -1172,7 +1172,10 @@ class Application(Gtk.Application):
|
||||
self._stack.set_visible_child_name(page_name)
|
||||
|
||||
def on_page_changed(self, app, page):
|
||||
if not self._settings.load_last_config and not self.is_data_loading():
|
||||
if page is not Page.SERVICES:
|
||||
return
|
||||
|
||||
if all((not self._settings.load_last_config, not self.is_data_loading(), not len(self._bouquets_model))):
|
||||
self.open_data()
|
||||
|
||||
def set_use_alt_layout(self, action, value):
|
||||
|
||||
Reference in New Issue
Block a user