Skip to content

Commit

Permalink
small adjustment (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
DYefremov committed Jun 8, 2024
1 parent d9cdc64 commit 6ca6867
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/ui/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,10 @@ def on_page_change(self, app, page_name):
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):
Expand Down

0 comments on commit 6ca6867

Please sign in to comment.