Skip to content

Commit

Permalink
#452: added guards in select/deselect all button listener methods to …
Browse files Browse the repository at this point in the history
…determine whether to modify visibility
  • Loading branch information
dbenn committed Oct 22, 2024
1 parent a3a8022 commit fd42752
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -462,11 +462,15 @@ public void actionPerformed(ActionEvent e) {
for (JCheckBox checkBox : checkBoxes) {
if (checkBox.isEnabled()) {
checkBox.setSelected(target);
updateSeriesVisibilityMap(checkBox);
if (modifyVisibility) {
updateSeriesVisibilityMap(checkBox);
}
}
}

seriesVisibilityChange(getVisibilityDeltaMap());
if (modifyVisibility) {
seriesVisibilityChange(getVisibilityDeltaMap());
}
}
};
}
Expand Down

0 comments on commit fd42752

Please sign in to comment.