Skip to content

Commit b489d28

Browse files
committed
fix: IndexError when editing the fitting range
1 parent 0f2cf44 commit b489d28

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
0.5.6
2-
- maintenance release
2+
- fix: IndexError when editing the fitting range
33
0.5.5
44
- maintenance release
55
0.5.4

pyjibe/head/infdoublespinbox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def convert_string_to_float(string):
5656
val = float(string)
5757
except ValueError:
5858
string = string.strip()
59-
if string[0] == "-":
59+
if string.startswith("-"):
6060
asign = -1
6161
else:
6262
asign = 1

0 commit comments

Comments
 (0)