diff --git a/ui/aboutWidget.py b/ui/aboutWidget.py index eb959db..779b1a3 100644 --- a/ui/aboutWidget.py +++ b/ui/aboutWidget.py @@ -27,6 +27,7 @@ def __init__(self): self.reset() def reset(self): + self.ui.widgetPortSelector.refreshPorts() self.toggleConnectionButtons(False) self.boardInfoCollector = None self.ui.widgetDataAge.reset(False) diff --git a/ui/calibrationSetupWidget.py b/ui/calibrationSetupWidget.py index 968d899..706ebbb 100644 --- a/ui/calibrationSetupWidget.py +++ b/ui/calibrationSetupWidget.py @@ -26,6 +26,7 @@ def __init__(self): self.reset() def reset(self): + self.ui.widgetPortSelector.refreshPorts() self.errorCollector = ErrorCollector() self.errorCollector.newError.connect(lambda: self.ui.pushButtonNext.setEnabled(False)) self.ui.widgetBasicInfo.loadProperties(BaseConverter()) diff --git a/ui/fireWidget.py b/ui/fireWidget.py index 1468cf7..05955f6 100644 --- a/ui/fireWidget.py +++ b/ui/fireWidget.py @@ -62,6 +62,7 @@ def reset(self): self.pressureBuff = LowPass(5) # Setup + self.ui.widgetPortSelector.refreshPorts() self.toggleFields(self.setupFields, True) self.ui.widgetTransducerSelector.reset() self.ui.firingConfig.loadProperties(FiringConfig()) diff --git a/ui/mainWindow.py b/ui/mainWindow.py index b449ee9..33e29e1 100644 --- a/ui/mainWindow.py +++ b/ui/mainWindow.py @@ -131,4 +131,5 @@ def exitResults(self): self.gotoStartPage() def gotoAboutPage(self): + self.ui.pageAbout.reset() self.gotoPage(MainWindowPages.ABOUT) diff --git a/ui/recvResultsWidget.py b/ui/recvResultsWidget.py index b2ea1fe..93c3acd 100644 --- a/ui/recvResultsWidget.py +++ b/ui/recvResultsWidget.py @@ -28,6 +28,7 @@ def __init__(self): self.reset() def reset(self): + self.ui.widgetPortSelector.refreshPorts() self.ui.widgetMotorConfig.loadProperties(MotorConfig()) self.ui.widgetTransducerSelector.reset() self.ui.lineEditInitialResults.setText('0 s')