mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-24 22:08:40 +08:00
GT-3372 - fixed exception when right-clicking a program tab with a
global popup action installed
This commit is contained in:
@@ -310,6 +310,10 @@ public class MultiTabPanel extends JPanel {
|
||||
hideListWindow();
|
||||
}
|
||||
|
||||
if (e.isPopupTrigger()) {
|
||||
return; // allow popup triggers to show actions without changing tabs
|
||||
}
|
||||
|
||||
// Tracker SCR 3605 - hitting 'X' to close tab doesn't work if tab is not selected
|
||||
if (e.getSource() == iconLabel) {
|
||||
doRemoveProgram(program);
|
||||
|
||||
Reference in New Issue
Block a user