Skip to content

Commit

Permalink
comment update roi button
Browse files Browse the repository at this point in the history
  • Loading branch information
jkotan committed Nov 8, 2021
1 parent 378827e commit 4f18ade
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lavuelib/toolWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -1788,7 +1788,7 @@ def __init__(self, parent=None):
[self._mainwidget.roiAliasesChanged, self.updateROILineEdit],
[self._mainwidget.roiValueChanged, self.updateROIDisplayText],
[self._mainwidget.roiNumberChanged, self.setROIsNumber],
[self._mainwidget.sardanaEnabled, self.updateROIButton],
# [self._mainwidget.sardanaEnabled, self.updateROIButton],
[self._mainwidget.mouseImagePositionChanged, self._message],
]

Expand Down Expand Up @@ -1841,8 +1841,8 @@ def activate(self):
self.__aliases = self._mainwidget.getElementNames("ExpChannelList")
self.updateROILineEdit(self._mainwidget.roilabels)
self.__updateCompleter()
self.updateROIButton(
self.__settings.sardana or self.__settings.analysisdevice)
# self.updateROIButton(
# self.__settings.sardana or bool(self.__settings.analysisdevice))

def __updateCompleter(self):
""" updates the labelROI help
Expand Down Expand Up @@ -6769,7 +6769,7 @@ def __init__(self, parent=None):
[self._mainwidget.roiAliasesChanged, self.updateROILineEdit],
[self._mainwidget.roiValueChanged, self.updateROIDisplayText],
[self._mainwidget.roiNumberChanged, self.setROIsNumber],
[self._mainwidget.sardanaEnabled, self.updateROIButton],
# [self._mainwidget.sardanaEnabled, self.updateROIButton],
[self._mainwidget.mouseImagePositionChanged, self._roimessage],

[self.__ui.funComboBox.currentIndexChanged,
Expand Down Expand Up @@ -6875,8 +6875,8 @@ def activate(self):
self.__aliases = self._mainwidget.getElementNames("ExpChannelList")
self.updateROILineEdit(self._mainwidget.roilabels)
self.__updateCompleter()
self.updateROIButton(
self.__settings.sardana or self.__settings.analysisdevice)
# self.updateROIButton(
# self.__settings.sardana or bool(self.__settings.analysisdevice))

if self.__bottomplot is None:
self.__bottomplot = self._mainwidget.onedbarbottomplot()
Expand Down

0 comments on commit 4f18ade

Please sign in to comment.