ui: Fixed cursor jumping to end position when editing search query

This commit is contained in:
Eberhard Graether
2015-11-11 15:13:48 +01:00
parent 42aa99d99b
commit 28e3880e10
+4 -1
View File
@@ -397,8 +397,11 @@ void QtSmartSearchBox::onTextEdited(const QString& text)
if (match.nameHierarchy.size() && !m_allowMultipleElements)
{
if (m_matches.size())
{
matchesChanged = true;
}
clearMatches();
matchesChanged = true;
}
if (matchesChanged)