Minor fixes
This commit is contained in:
parent
fa26703a58
commit
fc45576ccc
@ -134,10 +134,10 @@ class StorageView(private val context: Context = Global.instance()) : View(title
|
|||||||
center {
|
center {
|
||||||
splitpane {
|
splitpane {
|
||||||
treeview<Container> {
|
treeview<Container> {
|
||||||
isShowRoot = false
|
//isShowRoot = false
|
||||||
storageProperty.onChange {
|
storageProperty.onChange {
|
||||||
if (it != null) {
|
if (it != null) {
|
||||||
root = TreeItem(Container("root", it))
|
root = TreeItem(Container(it.name, it))
|
||||||
root.isExpanded = true
|
root.isExpanded = true
|
||||||
populate { parent ->
|
populate { parent ->
|
||||||
val value = parent.value.content
|
val value = parent.value.content
|
||||||
@ -179,7 +179,7 @@ class StorageView(private val context: Context = Global.instance()) : View(title
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
contextMenu = ContextMenu()
|
contextMenu = ContextMenu()
|
||||||
contextMenu.item("Clear"){
|
contextMenu.item("Clear all"){
|
||||||
action {
|
action {
|
||||||
this@cellFormat.treeItem.uncheckAll()
|
this@cellFormat.treeItem.uncheckAll()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user