diff --git a/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/runtime/ui/tree/actions/DeployAction.java b/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/runtime/ui/tree/actions/DeployAction.java index 975dc158fdf6..d90b94d34fde 100644 --- a/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/runtime/ui/tree/actions/DeployAction.java +++ b/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/runtime/ui/tree/actions/DeployAction.java @@ -27,8 +27,11 @@ public class DeployAction extends ServersTreeActionBase { if (node.isDeployed()) { presentation.setText("Redeploy"); presentation.setDescription("Redeploy '" + node.getDeploymentName() + "'"); + return; } } + presentation.setText(getTemplatePresentation().getText()); + presentation.setDescription(getTemplatePresentation().getDescription()); } @Override