mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 20:58:38 +02:00
fixed tab issue
This commit is contained in:
parent
3a8856fae6
commit
84738f51c2
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ TreeView {
|
||||||
|
|
||||||
model: treeModel
|
model: treeModel
|
||||||
selection: ItemSelectionModel {
|
selection: ItemSelectionModel {
|
||||||
id: selectionModel
|
id: selectionModel
|
||||||
model: treeModel
|
model: treeModel
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -217,7 +217,7 @@ TreeView {
|
||||||
onDoubleClicked: isExpanded(index) ? collapse(index) : expand(index)
|
onDoubleClicked: isExpanded(index) ? collapse(index) : expand(index)
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
selectionModel.setCurrentIndex(index, ItemSelectionModel.ClearAndSelect);
|
selectionModel.setCurrentIndex(index, ItemSelectionModel.ClearAndSelect);
|
||||||
}
|
}
|
||||||
|
|
||||||
onActivated: {
|
onActivated: {
|
||||||
|
|
Loading…
Reference in a new issue