ui: Fixed cursor jumping to end position when editing search query
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user