From c58ab6e0995bfd9ce8549eb1bfa5dff26be9212e Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Tue, 2 Oct 2018 15:25:53 +0200 Subject: [PATCH] cleanup --- platform/platform-impl/src/com/intellij/ui/layout/Cell.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/platform/platform-impl/src/com/intellij/ui/layout/Cell.kt b/platform/platform-impl/src/com/intellij/ui/layout/Cell.kt index 1a955f12ec17..6f8a661e37c7 100644 --- a/platform/platform-impl/src/com/intellij/ui/layout/Cell.kt +++ b/platform/platform-impl/src/com/intellij/ui/layout/Cell.kt @@ -92,9 +92,7 @@ abstract class Cell { } fun gearButton(vararg actions: AnAction) { - val label = JLabel() - label.icon = AllIcons.General.GearPlain - + val label = JLabel(AllIcons.General.GearPlain) object : ClickListener() { override fun onClick(e: MouseEvent, clickCount: Int): Boolean { JBPopupFactory.getInstance()