Skip to content
Snippets Groups Projects
Commit 58c71633 authored by Lan Dam's avatar Lan Dam
Browse files

change func name

parent 7bdccc39
No related branches found
No related tags found
1 merge request!261Feature for users to hide/show and reorder channels
Pipeline #3626 passed with stage
in 6 minutes and 58 seconds
...@@ -107,7 +107,7 @@ class SelectChanelsToShowDialog(QDialog): ...@@ -107,7 +107,7 @@ class SelectChanelsToShowDialog(QDialog):
self.apply_btn.clicked.connect(self.apply) self.apply_btn.clicked.connect(self.apply)
@staticmethod @staticmethod
def apply_selection_to_plotting_data_channel_visible( def apply_selection(
channel_list_widget, plotting_data): channel_list_widget, plotting_data):
""" """
Set show value according to channel checkboxes' check state Set show value according to channel checkboxes' check state
...@@ -137,9 +137,9 @@ class SelectChanelsToShowDialog(QDialog): ...@@ -137,9 +137,9 @@ class SelectChanelsToShowDialog(QDialog):
""" """
new_pref_order = ( new_pref_order = (
self.apply_selection_to_plotting_data_channel_visible( self.apply_selection(
self.reorderable_chan_list_widget, self.parent.plotting_data1)) self.reorderable_chan_list_widget, self.parent.plotting_data1))
self.apply_selection_to_plotting_data_channel_visible( self.apply_selection(
self.unreorderable_chan_list_widget, self.parent.plotting_data2) self.unreorderable_chan_list_widget, self.parent.plotting_data2)
self.parent.clear() self.parent.clear()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment