From 64baced0443dae46efb6763d33d6969abee3fbc8 Mon Sep 17 00:00:00 2001 From: Roman Chernyatchik Date: Wed, 17 Sep 2008 18:43:22 +0400 Subject: [PATCH] NPE fixed --- platform-api/src/com/intellij/ui/tabs/impl/JBTabsImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform-api/src/com/intellij/ui/tabs/impl/JBTabsImpl.java b/platform-api/src/com/intellij/ui/tabs/impl/JBTabsImpl.java index 53bd4c07ce..2d6f4296b1 100644 --- a/platform-api/src/com/intellij/ui/tabs/impl/JBTabsImpl.java +++ b/platform-api/src/com/intellij/ui/tabs/impl/JBTabsImpl.java @@ -416,7 +416,7 @@ public class JBTabsImpl extends JComponent } public ActionGroup getPopupGroup() { - return myPopupGroup.get(); + return myPopupGroup != null ? myPopupGroup.get() : null; } public String getPopupPlace() { -- 2.11.4.GIT