build: Fixed build for Linux
This commit is contained in:
@@ -626,6 +626,11 @@ void QtSmartSearchBox::onElementSelected(QtSearchElement* element)
|
||||
return;
|
||||
}
|
||||
|
||||
if (!hasFocus())
|
||||
{
|
||||
setFocus();
|
||||
}
|
||||
|
||||
if (!hasSelectedElements() && !m_shiftKeyDown)
|
||||
{
|
||||
editElement(element);
|
||||
|
||||
Reference in New Issue
Block a user