Skip to content

Commit

Permalink
Reset current template on undo
Browse files Browse the repository at this point in the history
Signed-off-by: Brianna Major <brianna.major@kitware.com>
  • Loading branch information
bnmajor committed Sep 8, 2023
1 parent b16ebeb commit 3176da4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hexrd/ui/mask_regions_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ def undo_selection(self):
self.discard_interactive_template()
self.canvas.draw_idle()
self.update_undo_enable_state()
self.interactive_template = None

def axes_entered(self, event):
self.image_mode = self.canvas.mode
Expand Down

0 comments on commit 3176da4

Please sign in to comment.