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)