Skip to content

Commit

Permalink
Fixed the crash caused by the backspace of the custom scan points edi…
Browse files Browse the repository at this point in the history
…t box.
  • Loading branch information
sysjoint-tek committed Jun 23, 2021
1 parent eaf3f50 commit 9af1a11
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NanoVNASaver/Windows/DeviceSettings.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ def customPoint_check(self, validate_data: bool):
def updatecustomPoint(self,points_str: str):
if self.custom_points_checkBox.isChecked():
#points_str = self.custom_points_Eidt.text()
if len(points_str) == 0:
return
points = int(points_str)
if points < self.app.vna.sweep_points_min:
return
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ Latest Changes

### Changes in this version

- Fixed the crash caused by the backspace of the custom scan points edit box.

- Nanovna-F V2 valid data points add 151,201 options
- customize the number of data points,At present, adaptation is only
made on NanoVNA-F V2, other versions need to define the configurable
Expand Down

0 comments on commit 9af1a11

Please sign in to comment.