Refactoring

IDEA-CR-66607

GitOrigin-RevId: 00352beca7be595c338b4dbcf672a65b77fca915
This commit is contained in:
Elena.Korotkova
2020-09-08 06:32:13 +00:00
committed by intellij-monorepo-bot
parent d6f6990fc3
commit e7d0dd4021
@@ -33,12 +33,11 @@ public class GitBranchesComboBoxAction extends ComboBoxAction {
String name = DvcsBranchUtil.shortenBranchName(branchName);
presentation.setText(name);
presentation.setIcon(AllIcons.Vcs.Branch);
presentation.setEnabledAndVisible(true);
}
else {
presentation.setEnabledAndVisible(false);
return;
}
presentation.setEnabledAndVisible(true);
}
@Override