SOE fixed

This commit is contained in:
Dmitry Avdeev
2010-07-20 19:59:54 +04:00
parent 38d4c65427
commit bdd04c170d
@@ -167,7 +167,7 @@ public abstract class BaseRefactoringAction extends AnAction {
private static void disableAction(final AnActionEvent e) {
e.getPresentation().setEnabled(false);
if (ActionPlaces.isPopupPlace(e.getPlace())) {
if (ActionPlaces.isPopupPlace(e.getPlace()) && e.getPresentation().isVisible()) {
hideAction(e);
}
}