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

Commit

Permalink
Small bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
BenediktBurger committed Jul 5, 2024
1 parent 6df0e4b commit 3417546
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pyleco_extras/gui/data_logger/data/multi_plot_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +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.triggered.connect(self.show_line_settings)
self.action_show_lines.toggled.connect(self.show_line_settings)

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

# Connect actions to slots
self.pbAutoRange.clicked.connect(self.setAutoRange)
Expand Down
1 change: 0 additions & 1 deletion pyleco_extras/gui_utils/base_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ class BaseSettings(QtWidgets.QDialog):
"""

def __init__(self, **kwargs) -> None:
"""Initialize the dialog."""
# Use initialization of parent class QDialog.
super().__init__(**kwargs)

Expand Down

0 comments on commit 3417546

Please sign in to comment.