From 64bdf78b852dde5b4361ff6bc0bff7cd5359bcf7 Mon Sep 17 00:00:00 2001 From: Daniel Wolf Date: Fri, 16 Feb 2018 21:30:41 +0100 Subject: [PATCH] Fixed warnings --- .../kotlin/com/rhubarb_lip_sync/rhubarb_for_spine/MainView.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extras/rhubarb-for-spine/src/main/kotlin/com/rhubarb_lip_sync/rhubarb_for_spine/MainView.kt b/extras/rhubarb-for-spine/src/main/kotlin/com/rhubarb_lip_sync/rhubarb_for_spine/MainView.kt index f65e7af..13e2316 100644 --- a/extras/rhubarb-for-spine/src/main/kotlin/com/rhubarb_lip_sync/rhubarb_for_spine/MainView.kt +++ b/extras/rhubarb-for-spine/src/main/kotlin/com/rhubarb_lip_sync/rhubarb_for_spine/MainView.kt @@ -124,7 +124,7 @@ class MainView : View() { } column("Status", AudioFileModel::audioFileStateProperty).apply { weigthedWidth(1.0) - setCellFactory { tableColumn -> + setCellFactory { return@setCellFactory object : TableCell() { override fun updateItem(state: AudioFileState?, empty: Boolean) { super.updateItem(state, empty) @@ -163,7 +163,7 @@ class MainView : View() { column("", AudioFileModel::actionLabelProperty).apply { weigthedWidth(1.0) // Show button - setCellFactory { tableColumn -> + setCellFactory { return@setCellFactory object : TableCell() { override fun updateItem(item: String?, empty: Boolean) { super.updateItem(item, empty)