shelf: IDEA-205302 set default option in 'Clean Unshelved Changelist'

This commit is contained in:
Nadya Zabrodina
2019-01-21 16:12:00 +03:00
parent eea7326ed9
commit ca414ba8e9
@@ -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());