diff --git a/NanoVNASaver/Analysis.py b/NanoVNASaver/Analysis.py index bed8ac4..10816f0 100644 --- a/NanoVNASaver/Analysis.py +++ b/NanoVNASaver/Analysis.py @@ -262,7 +262,7 @@ class HighPassAnalysis(Analysis): if pass_band_location < 0: logger.debug("No location for %s", self.app.markers[0].name) - self.result_label.setText("Please place " + self.app.markers[0].name + " in the passband.") + self.result_label.setText("Please place " + self.app.markers[0].name + " in the passband.") return pass_band_db = RFTools.gain(self.app.data21[pass_band_location]) @@ -437,6 +437,7 @@ class BandPassAnalysis(Analysis): def reset(self): self.result_label.clear() + self.center_frequency_label.clear() self.span_label.clear() self.quality_label.clear() self.six_db_span_label.clear() diff --git a/NanoVNASaver/NanoVNASaver.py b/NanoVNASaver/NanoVNASaver.py index 71f37a6..528358d 100644 --- a/NanoVNASaver/NanoVNASaver.py +++ b/NanoVNASaver/NanoVNASaver.py @@ -1429,6 +1429,8 @@ class DisplaySettingsWindow(QtWidgets.QWidget): for m in self.app.markers: m.returnloss_is_positive = state m.updateLabels(self.app.data, self.app.data21) + self.marker_window.exampleMarker.returnloss_is_positive = state + self.marker_window.updateMarker() self.app.s11LogMag.isInverted = state self.app.s11LogMag.update()