Don't add effect twice on activating effect search

parent 586f8a74
......@@ -203,6 +203,7 @@ Rectangle {
if (sel.hasSelection && (event.key === Qt.Key_Return || event.key === Qt.Key_Enter )) {
assetlist.activate(sel.currentIndex)
treeView.focus = true
event.accepted = true
searchInput.text = '';
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment