From ca414ba8e9e32535764d47d709d0d6054b6acbbd Mon Sep 17 00:00:00 2001 From: Nadya Zabrodina Date: Mon, 21 Jan 2019 16:12:00 +0300 Subject: [PATCH] shelf: IDEA-205302 set default option in 'Clean Unshelved Changelist' --- .../openapi/vcs/changes/shelf/CleanUnshelvedFilterDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/shelf/CleanUnshelvedFilterDialog.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/shelf/CleanUnshelvedFilterDialog.java index f2c26384eb97..f3dfc387a345 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/shelf/CleanUnshelvedFilterDialog.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/shelf/CleanUnshelvedFilterDialog.java @@ -64,7 +64,7 @@ public class CleanUnshelvedFilterDialog extends DialogWrapper { public CleanUnshelvedFilterDialog(@Nullable Project project) { super(project); setTitle("Clean Unshelved Changelists"); - myUnshelvedWithFilterButton = new JRadioButton("older than one", false); + myUnshelvedWithFilterButton = new JRadioButton("older than one", true); myAllUnshelvedButton = new JRadioButton("all", false); myTimePeriodComboBox = new ComboBox(new EnumComboBoxModel<>(TimePeriod.class)); myTimePeriodComboBox.setEnabled(myUnshelvedWithFilterButton.isSelected());