[bugfix] tuneAutopicker not using new pb_widget
This commit is contained in:
parent
90e26cbd8f
commit
b348117d5a
1
PyLoT.py
1
PyLoT.py
@ -610,7 +610,6 @@ class MainWindow(QMainWindow):
|
|||||||
|
|
||||||
# add progressbar
|
# add progressbar
|
||||||
self.mainProgressBarWidget = ProgressBarWidget(self)
|
self.mainProgressBarWidget = ProgressBarWidget(self)
|
||||||
self.mainProgressBarWidget.hide()
|
|
||||||
self._main_layout.addWidget(self.mainProgressBarWidget)
|
self._main_layout.addWidget(self.mainProgressBarWidget)
|
||||||
|
|
||||||
# add scroll area used in case number of traces gets too high
|
# add scroll area used in case number of traces gets too high
|
||||||
|
@ -129,6 +129,7 @@ class ProgressBarWidget(QtGui.QWidget):
|
|||||||
self.hlayout.addWidget(self.pb)
|
self.hlayout.addWidget(self.pb)
|
||||||
self.hlayout.addWidget(self.label)
|
self.hlayout.addWidget(self.label)
|
||||||
self.setLayout(self.hlayout)
|
self.setLayout(self.hlayout)
|
||||||
|
self.hide()
|
||||||
|
|
||||||
|
|
||||||
class ComparisonWidget(QWidget):
|
class ComparisonWidget(QWidget):
|
||||||
@ -3182,7 +3183,7 @@ class TuneAutopicker(QWidget):
|
|||||||
self.fill_figure_tabs()
|
self.fill_figure_tabs()
|
||||||
|
|
||||||
def init_pbwidget(self):
|
def init_pbwidget(self):
|
||||||
self.pb_widget = QtGui.QWidget()
|
self.pb_widget = ProgressBarWidget()
|
||||||
|
|
||||||
def init_tab_names(self):
|
def init_tab_names(self):
|
||||||
self.ptb_names = ['aicFig', 'slength', 'checkZ4s', 'refPpick', 'el_Ppick', 'fm_picker']
|
self.ptb_names = ['aicFig', 'slength', 'checkZ4s', 'refPpick', 'el_Ppick', 'fm_picker']
|
||||||
|
Loading…
Reference in New Issue
Block a user