diff --git a/src/gui/Src/BasicView/ReferenceView.cpp b/src/gui/Src/BasicView/ReferenceView.cpp index b06d11ba..ae8c4df3 100644 --- a/src/gui/Src/BasicView/ReferenceView.cpp +++ b/src/gui/Src/BasicView/ReferenceView.cpp @@ -187,10 +187,14 @@ void ReferenceView::setRowCount(dsint count) void ReferenceView::setSingleSelection(int index, bool scroll) { - clearFilter(); + //clearFilter(); stdList()->setSingleSelection(index); + stdSearchList()->setSingleSelection(index); if(scroll) //TODO: better scrolling + { stdList()->setTableOffset(index); + stdSearchList()->setTableOffset(index); + } } void ReferenceView::addCommand(QString title, QString command)