From 16bf7b0941a52cac59f2ba774cff21d4cbcf5ede Mon Sep 17 00:00:00 2001 From: Henry Wallace Date: Fri, 8 Nov 2024 10:19:13 +0000 Subject: [PATCH] Change selection buttons to class view and session view --- python/daqconf/cider/app_structures/selection_panel.py | 4 ++-- python/daqconf/cider/widgets/selection_menu.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/python/daqconf/cider/app_structures/selection_panel.py b/python/daqconf/cider/app_structures/selection_panel.py index c3b9c319..472487c8 100644 --- a/python/daqconf/cider/app_structures/selection_panel.py +++ b/python/daqconf/cider/app_structures/selection_panel.py @@ -11,8 +11,8 @@ class SelectionPanel(Static): _current_menu = None _saved_states = None - _menu_ids = {"Sort By Class" : "class-selection", - "Sort By Relationship" : "relation-selection"} + _menu_ids = {"Class View" : "class-selection", + "Session View" : "relation-selection"} def compose(self) -> ComposeResult: """Compose the selection panel for use in the app diff --git a/python/daqconf/cider/widgets/selection_menu.py b/python/daqconf/cider/widgets/selection_menu.py index 56346682..390e12e6 100644 --- a/python/daqconf/cider/widgets/selection_menu.py +++ b/python/daqconf/cider/widgets/selection_menu.py @@ -23,7 +23,7 @@ def _build_tree(self): if self._tree is not None: self._tree.clear() - self._tree = Tree(f"Configuration:") + self._tree = Tree("Configuration:") main_screen = self.app.get_screen("main") self._controller = main_screen.query_one("ConfigurationController")