mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
GP-1440 fixing issue global actions shared across windows getting the
wrong context
This commit is contained in:
parent
b7ef0fffed
commit
c625da90a4
6 changed files with 157 additions and 120 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue