Commit acf8cb94 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Fix search label when on the main page

"Search on 'Home'" reads really weird
parent 5e240b13
......@@ -36,6 +36,8 @@ DiscoverPage
topPadding: 0
bottomPadding: 0
readonly property bool isHome: true
function searchFor(text) {
if (text.length === 0)
return;
......
......@@ -29,7 +29,7 @@ TextField
property QtObject page
property string currentSearchText
placeholderText: (!enabled || !page || page.title.length === 0) ? i18n("Search...") : i18n("Search in '%1'...", window.leftPage.title)
placeholderText: (!enabled || !page || page.hasOwnProperty("isHome") || page.title.length === 0) ? i18n("Search...") : i18n("Search in '%1'...", window.leftPage.title)
Shortcut {
sequence: "Ctrl+F"
......
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