mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
GetFromVcsAction fixed
This commit is contained in:
@@ -38,6 +38,11 @@ public class CheckoutActionGroup extends ComputableActionGroup.Simple {
|
||||
@NotNull
|
||||
@Override
|
||||
protected AnAction[] computeChildren(@NotNull ActionManager manager) {
|
||||
return getActions();
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public AnAction[] getActions() {
|
||||
CheckoutProvider[] providers = CheckoutProvider.EXTENSION_POINT_NAME.getExtensions();
|
||||
if (providers.length == 0) {
|
||||
return EMPTY_ARRAY;
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@ import com.intellij.ui.UIBundle;
|
||||
public class GetFromVcsAction extends WelcomePopupAction{
|
||||
|
||||
protected void fillActions(DefaultActionGroup group) {
|
||||
group.addAll(new CheckoutActionGroup("WelcomeScreen.GetFromVcs"));
|
||||
group.addAll(new CheckoutActionGroup("WelcomeScreen.GetFromVcs").getActions());
|
||||
}
|
||||
|
||||
protected String getCaption() {
|
||||
|
||||
Reference in New Issue
Block a user