Skip to content

Commit

Permalink
SLI-1664 Telemetry update should be taken into account
Browse files Browse the repository at this point in the history
  • Loading branch information
nquinquenel committed Oct 21, 2024
1 parent c69366a commit 399d956
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public void load(SonarLintTelemetry telemetry) {
// we could show a loader while getting the value
runOnPooledThread(() -> telemetry.enabled().thenAccept(enabled -> {
telemetryInitiallyEnabled = enabled;
runOnUiThread(ModalityState.defaultModalityState(), () -> enableTelemetryCheckBox.setSelected(enabled));
runOnUiThread(ModalityState.stateForComponent(panel), () -> enableTelemetryCheckBox.setSelected(enabled));
}));
}

Expand Down

0 comments on commit 399d956

Please sign in to comment.