build: Fixed build for Linux

This commit is contained in:
Eberhard Graether
2017-11-17 23:50:36 +01:00
parent 37b6453644
commit 69781acc51
4 changed files with 6 additions and 4 deletions
@@ -626,6 +626,11 @@ void QtSmartSearchBox::onElementSelected(QtSearchElement* element)
return;
}
if (!hasFocus())
{
setFocus();
}
if (!hasSelectedElements() && !m_shiftKeyDown)
{
editElement(element);