Skip to content

Commit

Permalink
fix: o.o.g.p.v.CustomColor setRestartRequired when selection changed (#…
Browse files Browse the repository at this point in the history
…1171)

- fix bug #1273, check the change when selection changed

Signed-off-by: Hiroshi Miura <[email protected]>
  • Loading branch information
miurahr authored Nov 7, 2024
1 parent 12fd6a6 commit 294cabf
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@ private void onSelectionChanged() {
Color color = temporaryPreferences.getOrDefault(style, style.getColor());
setColorChooserWithoutNotifying(color);
});
if (enabled) {
setRestartRequired(hasChanges());
}
}

private void resetCurrentColor() {
Expand Down

0 comments on commit 294cabf

Please sign in to comment.