- Limit band sweeps to positive frequencies

pull/36/head
Rune Broberg 2019-10-03 15:58:42 +02:00
rodzic 27984e5b16
commit 0786bf64c6
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -1626,6 +1626,7 @@ class SweepSettingsWindow(QtWidgets.QWidget):
if self.band_pad_limits.isChecked():
span = stop - start
start -= round(span / 10)
start = max(1, start)
stop += round(span / 10)
self.band_limit_label.setText("Sweep span: " + NanoVNASaver.formatShortFrequency(start) + " to " +