IDEA-232922 Fix SOE on revealing hidden toolbar actions in the popup

Revert "IDEA-CR-50279: PY-36737 Fix inability to use Jupyter editor actions from toolbar shown in popup". This reverts commit 351e6bea. This fixes IDEA-232922 and exposes PY-36737.

GitOrigin-RevId: 05afcd81e29d71373e86faadeff488cdd772a0ab
This commit is contained in:
Alexander Koshevoy
2020-02-14 17:35:45 +00:00
committed by intellij-monorepo-bot
parent b2eede2a48
commit 4b1969ea61
@@ -1320,7 +1320,7 @@ public class ActionToolbarImpl extends JPanel implements ActionToolbar, QuickAct
myUpdater.updateActions(false, false);
}
abstract static class PopupToolbar extends ActionToolbarImpl implements AnActionListener, DataProvider, Disposable {
abstract static class PopupToolbar extends ActionToolbarImpl implements AnActionListener, Disposable {
private final JComponent myParent;
PopupToolbar(@NotNull String place,
@@ -1333,12 +1333,6 @@ public class ActionToolbarImpl extends JPanel implements ActionToolbar, QuickAct
setBorder(myParent.getBorder());
}
@Nullable
@Override
public Object getData(@NotNull String dataId) {
return getDataContext().getData(dataId);
}
@Override
public Container getParent() {
Container parent = super.getParent();