Fixed warnings
This commit is contained in:
parent
eb2a6a3264
commit
64bdf78b85
|
@ -124,7 +124,7 @@ class MainView : View() {
|
||||||
}
|
}
|
||||||
column("Status", AudioFileModel::audioFileStateProperty).apply {
|
column("Status", AudioFileModel::audioFileStateProperty).apply {
|
||||||
weigthedWidth(1.0)
|
weigthedWidth(1.0)
|
||||||
setCellFactory { tableColumn ->
|
setCellFactory {
|
||||||
return@setCellFactory object : TableCell<AudioFileModel, AudioFileState>() {
|
return@setCellFactory object : TableCell<AudioFileModel, AudioFileState>() {
|
||||||
override fun updateItem(state: AudioFileState?, empty: Boolean) {
|
override fun updateItem(state: AudioFileState?, empty: Boolean) {
|
||||||
super.updateItem(state, empty)
|
super.updateItem(state, empty)
|
||||||
|
@ -163,7 +163,7 @@ class MainView : View() {
|
||||||
column("", AudioFileModel::actionLabelProperty).apply {
|
column("", AudioFileModel::actionLabelProperty).apply {
|
||||||
weigthedWidth(1.0)
|
weigthedWidth(1.0)
|
||||||
// Show button
|
// Show button
|
||||||
setCellFactory { tableColumn ->
|
setCellFactory {
|
||||||
return@setCellFactory object : TableCell<AudioFileModel, String>() {
|
return@setCellFactory object : TableCell<AudioFileModel, String>() {
|
||||||
override fun updateItem(item: String?, empty: Boolean) {
|
override fun updateItem(item: String?, empty: Boolean) {
|
||||||
super.updateItem(item, empty)
|
super.updateItem(item, empty)
|
||||||
|
|
Loading…
Reference in New Issue