From ba5c00b6992d28cfb6afc7fab108c9009f9e1b7c Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 13 Jul 2019 01:00:17 +0200 Subject: Suppress style warnings. --- src/main/kotlin/pl/treksoft/kvision/window/Window.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/kotlin/pl/treksoft/kvision/window') diff --git a/src/main/kotlin/pl/treksoft/kvision/window/Window.kt b/src/main/kotlin/pl/treksoft/kvision/window/Window.kt index 7dfeb921..3816de3a 100644 --- a/src/main/kotlin/pl/treksoft/kvision/window/Window.kt +++ b/src/main/kotlin/pl/treksoft/kvision/window/Window.kt @@ -247,6 +247,7 @@ open class Window( } private fun checkHeaderVisibility() { + @Suppress("ComplexCondition") if (!closeButton && !maximizeButton && !minimizeButton && caption == null && !isDraggable) { header.hide() } else { -- cgit