mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:03:53 +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
|
||||
selection: ItemSelectionModel {
|
||||
id: selectionModel
|
||||
id: selectionModel
|
||||
model: treeModel
|
||||
}
|
||||
|
||||
|
@ -217,7 +217,7 @@ TreeView {
|
|||
onDoubleClicked: isExpanded(index) ? collapse(index) : expand(index)
|
||||
|
||||
onClicked: {
|
||||
selectionModel.setCurrentIndex(index, ItemSelectionModel.ClearAndSelect);
|
||||
selectionModel.setCurrentIndex(index, ItemSelectionModel.ClearAndSelect);
|
||||
}
|
||||
|
||||
onActivated: {
|
||||
|
|
Loading…
Reference in a new issue