Skip to content

Commit

Permalink
Merge pull request #631 from psavery/fix-laue-back-button
Browse files Browse the repository at this point in the history
Only remove last Laue spot when back pressed
  • Loading branch information
psavery authored Oct 1, 2020
2 parents 4c1eed7 + f8a64f5 commit 40abd5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hexrd/ui/calibration/calibration_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,4 +420,5 @@ def last_point_removed(self):
self.current_data_list.pop(-1)
elif self.active_overlay_type == OverlayType.laue:
self.decrement_overlay_data_index()
self.current_data_list.clear()
if self.current_data_list:
self.current_data_list.pop(-1)

0 comments on commit 40abd5f

Please sign in to comment.