Merge pull request #3206 from HayFieldLaps/referenceview-cycle-filtered
Fixed cycling through filtered references without clearing filter.
This commit is contained in:
commit
2ce5a283f5
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue