Skip to content
Permalink
Browse files

Make parse_dash_result safer to use

  • Loading branch information
m-kuhn committed Sep 28, 2017
1 parent 00e9217 commit c1d34e828e9d1c31c0919dab95766c4298bea834
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 c1d34e8

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