Skip to content

Commit a8abcda

Browse files
authored
Merge pull request #93 from kkiesling/save_settings
Save "Enable Overlap Coloring" settings in edit tab
2 parents a028b89 + 478ef04 commit a8abcda

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
*~
22
__pycache__
33
plot_settings.pkl
4+
*.egg-info

openmc_plotter/main_window.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ def updateEditMenu(self):
414414
self.maskingAction.setChecked(self.model.currentView.masking)
415415
self.highlightingAct.setChecked(self.model.currentView.highlighting)
416416
self.outlineAct.setChecked(self.model.currentView.outlines)
417+
self.overlapAct.setChecked(self.model.currentView.color_overlaps)
417418

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

0 commit comments

Comments
 (0)