Skip to content
Permalink
Browse files

Make parse_dash_result safer to use

  • Loading branch information
m-kuhn committed Sep 27, 2017
1 parent 8faee72 commit be9b85e94b495744fcb7349e028d5600f87ddc41
Showing with 2 additions and 0 deletions.
  1. +2 −0 scripts/parse_dash_results.py
@@ -124,10 +124,12 @@ def __init__(self, parent=None):
self.overload_spin.setMinimum(1)
self.overload_spin.setMaximum(255)
self.overload_spin.setValue(1)
self.overload_spin.valueChanged.connect(lambda: save_mask_button.setEnabled(False))

preview_mask_button = QPushButton()
preview_mask_button.setText('Preview New Mask')
preview_mask_button.pressed.connect(self.preview_mask)
preview_mask_button.pressed.connect(lambda: save_mask_button.setEnabled(True))

save_mask_button = QPushButton()
save_mask_button.setText('Save New Mask')

0 comments on commit be9b85e

Please sign in to comment.
You can’t perform that action at this time.