Skip to content

Commit

Permalink
SLI-1664 Telemetry update should be taken into account (#1208)
Browse files Browse the repository at this point in the history
  • Loading branch information
nquinquenel authored Oct 21, 2024
1 parent f00897c commit 367e43e
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 367e43e

Please sign in to comment.