File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -883,12 +883,8 @@ InputEventItem {
883883 Connections {
884884 target: LauncherController
885885 function onVisibleChanged () {
886- if (LauncherController .visible ) {
887- searchEdit .forceActiveFocus ()
888- return
889- }
890-
891886 // only do these clean-up steps on launcher get hide
887+ if (LauncherController .visible ) return
892888 // clear searchEdit text
893889 searchEdit .text = " "
894890 if (listviewPage .currentItem ) {
Original file line number Diff line number Diff line change @@ -303,12 +303,9 @@ InputEventItem {
303303 Connections {
304304 target: LauncherController
305305 function onVisibleChanged () {
306- if (LauncherController .visible ) {
307- bottomBar .searchEdit .forceActiveFocus ()
308- return
309- }
310-
311306 // only do these clean-up steps on launcher get hide
307+ if (LauncherController .visible ) return
308+
312309 // clear searchEdit text
313310 bottomBar .searchEdit .text = " "
314311 // reset(remove) keyboard focus
You can’t perform that action at this time.
0 commit comments