openmc-dev / plotter

Native plotting GUI for model design and verification
MIT License
43 stars 17 forks source link

Immediate updates to score selection for tally plotting #135

Closed paulromano closed 4 months ago

paulromano commented 4 months ago

Right now when you are plotting tallies, if your tally has multiple scores and you want to select a different one, you have to deselect the currently selected one, hit apply, and then select a new one. The changes in this PR make it so that when you deselect a score, it immediately updates which checkboxes are active so that you don't have to hit apply in between. I also changed some of the special logic around the 'total' score which, in my opinion, just complicated things more.