Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
Fix bug that lines setup is active, but action not.
Browse files Browse the repository at this point in the history
Closes #11
  • Loading branch information
BenediktBurger committed Jul 9, 2024
1 parent 3417546 commit 3eb263e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyleco_extras/gui/data_logger/data/multi_plot_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def _setup_actions(self):
self.action_show_lines.setIconText("ls")
self.action_show_lines.setToolTip("Show the lines setup.")
self.action_show_lines.setCheckable(True)
self.action_show_lines.setChecked(True)
self.action_show_lines.toggled.connect(self.show_line_settings)

def _setup_ui(self):
Expand Down Expand Up @@ -93,6 +94,7 @@ def _setup_ui(self):
self.pbLines.setText("ls")
self.pbLines.setToolTip("Show the lines setup.")
self.pbLines.setCheckable(True)
self.pbLines.setChecked(True)
self.pbLines.clicked.connect(self.action_show_lines.setChecked)

# Connect actions to slots
Expand Down

0 comments on commit 3eb263e

Please sign in to comment.