mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Refactoring
IDEA-CR-66607 GitOrigin-RevId: 00352beca7be595c338b4dbcf672a65b77fca915
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user