Skip to content

Commit

Permalink
minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Chilipp committed Dec 11, 2018
1 parent 8370381 commit 7645505
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions straditize/widgets/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,10 @@ def update_tolerance(self, s):

def toggle_txt_tolerance(self, s):
enable = 'bars' in s
try:
self.txt_tolerance
except RuntimeError:
self.txt_tolerance = None
if enable:
if self.txt_tolerance is None:
self.tolerance_child = QTreeWidgetItem(0)
Expand Down

0 comments on commit 7645505

Please sign in to comment.