diff --git a/hexrd/ui/create_raw_mask.py b/hexrd/ui/create_raw_mask.py index 22d5bc6b7..9bb59b7d2 100644 --- a/hexrd/ui/create_raw_mask.py +++ b/hexrd/ui/create_raw_mask.py @@ -22,6 +22,7 @@ def apply_threshold_mask(): masks[idx] = mask results[det] = masks HexrdConfig().threshold_masks = results + HexrdConfig().threshold_mask_changed.emit('threshold') def create_threshold_mask(img): diff --git a/hexrd/ui/threshold_mask_dialog.py b/hexrd/ui/threshold_mask_dialog.py index 29ac414c4..fe17859c8 100644 --- a/hexrd/ui/threshold_mask_dialog.py +++ b/hexrd/ui/threshold_mask_dialog.py @@ -66,5 +66,4 @@ def accept(self): self.gather_input() HexrdConfig().threshold_values = self.values apply_threshold_mask() - HexrdConfig().threshold_mask_changed.emit('threshold') self.mask_applied.emit()