diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-07-13 01:22:56 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-07-13 01:22:56 +0200 |
commit | 426da03b5a4e2d715c086e1bfd92b34358ae17ee (patch) | |
tree | c842225bf95ee06399cbc9caf546d467f24246cf /src/main/kotlin/pl/treksoft/kvision/panel/TabPanel.kt | |
parent | ba5c00b6992d28cfb6afc7fab108c9009f9e1b7c (diff) | |
download | kvision-426da03b5a4e2d715c086e1bfd92b34358ae17ee.tar.gz kvision-426da03b5a4e2d715c086e1bfd92b34358ae17ee.tar.bz2 kvision-426da03b5a4e2d715c086e1bfd92b34358ae17ee.zip |
Style fixes. Suppress style warnings.
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/panel/TabPanel.kt')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/panel/TabPanel.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/panel/TabPanel.kt b/src/main/kotlin/pl/treksoft/kvision/panel/TabPanel.kt index ae8360b5..f620f2b0 100644 --- a/src/main/kotlin/pl/treksoft/kvision/panel/TabPanel.kt +++ b/src/main/kotlin/pl/treksoft/kvision/panel/TabPanel.kt @@ -160,6 +160,7 @@ open class TabPanel( click = { e -> val actIndex = this@TabPanel.content.children.indexOf(childrenMap[currentIndex]) e.asDynamic().data = actIndex + @Suppress("UnsafeCastFromDynamic") if (this@TabPanel.dispatchEvent( "tabClosing", obj { detail = e; cancelable = true }) != false |