Commit 5e240b13 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Remove weird state where no category was being listed

BUG: 385040
parent 913afb06
......@@ -47,7 +47,7 @@ Kirigami.GlobalDrawer {
onCurrentSubMenuChanged: {
if (currentSubMenu)
currentSubMenu.trigger()
else if (currentSearchText.length >= 0)
else if (currentSearchText.length > 0)
window.leftPage.category = null
else
Navigation.openHome()
......
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