GP-1440 fixing issue global actions shared across windows getting the

wrong context
This commit is contained in:
ghidravore 2021-11-03 16:20:43 -04:00
parent b7ef0fffed
commit c625da90a4
6 changed files with 157 additions and 120 deletions

View file

@ -100,7 +100,7 @@ public class ActionToGuiMapper {
void update() {
menuAndToolBarManager.update();
contextChangedAll();
contextChanged();
}
void dispose() {
@ -117,12 +117,8 @@ public class ActionToGuiMapper {
return menuBarMenuHandler;
}
void contextChangedAll() {
menuAndToolBarManager.contextChangedAll();
}
void contextChanged(ComponentPlaceholder placeHolder) {
menuAndToolBarManager.contextChanged(placeHolder);
void contextChanged() {
menuAndToolBarManager.contextChanged();
}
PopupActionManager getPopupActionManager() {