GT-3372 - fixed exception when right-clicking a program tab with a

global popup action installed
This commit is contained in:
dragonmacher
2019-12-04 16:40:18 -05:00
parent 84b9c4d6c4
commit 42399ef26b
@@ -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);