Skip to content

Commit

Permalink
'Restore Defaults' uses different value when USE_MARKER_LIMITS pref i…
Browse files Browse the repository at this point in the history
…s false. #2325
  • Loading branch information
eobrienPilz authored and merks committed Jan 2, 2025
1 parent d8afbe0 commit 9ee216c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ protected void performDefaults() {

IPreferenceStore preferenceStore = IDEWorkbenchPlugin.getDefault().getPreferenceStore();
boolean useMarkerLimits = preferenceStore.getBoolean(IDEInternalPreferences.USE_MARKER_LIMITS);
int markerLimits = useMarkerLimits ? preferenceStore.getInt(IDEInternalPreferences.MARKER_LIMITS_VALUE) : 1000;
int markerLimits = preferenceStore.getInt(IDEInternalPreferences.MARKER_LIMITS_VALUE);

limitButton.setSelection(useMarkerLimits);
updateLimitTextEnablement();
Expand Down

0 comments on commit 9ee216c

Please sign in to comment.