Skip to content

Commit

Permalink
fix: After searching for an application, pressing the Enter key does …
Browse files Browse the repository at this point in the history
…not directly open the application.

Modify wrong call

Issue: linuxdeepin/developer-center#8060
  • Loading branch information
robertkill committed May 8, 2024
1 parent 4ed4ca1 commit 151bb31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion qml/FullscreenFrame.qml
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ Control {
if (searchEdit.text === "") {
pages.focus = true
} else {
searchResultGridViewContainer.currentItem?.onItemClicked()
searchResultGridViewContainer.currentItem?.itemClicked()
}
}
onTextChanged: {
Expand Down
2 changes: 1 addition & 1 deletion qml/windowed/SearchResultView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Control {
}

function launchCurrentItem() {
searchResultViewContainer.currentItem?.onItemClicked()
searchResultViewContainer.currentItem?.itemClicked()
}

function positionViewAtBeginning() {
Expand Down

0 comments on commit 151bb31

Please sign in to comment.