diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/committed/LabeledComboBoxAction.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/committed/LabeledComboBoxAction.java index 572f101e1953..540cc5985b6a 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/committed/LabeledComboBoxAction.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/committed/LabeledComboBoxAction.java @@ -93,4 +93,8 @@ public abstract class LabeledComboBoxAction extends AnAction implements CustomCo boxModel.setSelectedItem(boxModel.getElementAt(idx)); } } + + protected JComboBox getComboBox() { + return myComboBox; + } } diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/committed/SelectGroupingAction.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/committed/SelectGroupingAction.java index e67325582563..0ed24cc232f5 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/committed/SelectGroupingAction.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/committed/SelectGroupingAction.java @@ -26,6 +26,7 @@ public class SelectGroupingAction extends LabeledComboBoxAction { public SelectGroupingAction(final CommittedChangesTreeBrowser browser) { super("Group by"); myBrowser = browser; + getComboBox().setPrototypeDisplayValue("Date+"); } protected void selectionChanged(Object selection) {