Commit 60489c9d authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Clear KRunner text when setting was just disabled

parent 20875ff6
......@@ -171,6 +171,9 @@ void View::loadConfig()
bool retainPriorSearch = m_config.readEntry("RetainPriorSearch", true);
if (retainPriorSearch != m_retainPriorSearch) {
m_retainPriorSearch = retainPriorSearch;
if (!m_retainPriorSearch) {
m_qmlObj->rootObject()->setProperty("query", QString());
}
Q_EMIT retainPriorSearchChanged();
}
}
......
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