Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
save overlap edit settings when reopening
  • Loading branch information
kkiesling committed May 4, 2022
commit 478ef04ddb8ef07b1cbde102093db8069e1f2e1f
1 change: 1 addition & 0 deletions openmc_plotter/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@ def updateEditMenu(self):
self.maskingAction.setChecked(self.model.currentView.masking)
self.highlightingAct.setChecked(self.model.currentView.highlighting)
self.outlineAct.setChecked(self.model.currentView.outlines)
self.overlapAct.setChecked(self.model.currentView.color_overlaps)

num_previous_views = len(self.model.previousViews)
self.undoAction.setText('&Undo ({})'.format(num_previous_views))
Expand Down