GuiCitation: don't reset filter on show

Addresses #11291

(cherry picked from commit 33d6499bbc)
This commit is contained in:
Juergen Spitzmueller 2018-09-22 10:37:22 +02:00
parent 875a4dcd17
commit ea43f293c2
2 changed files with 4 additions and 1 deletions

View File

@ -204,7 +204,8 @@ void GuiCitation::applyView()
void GuiCitation::showEvent(QShowEvent * e)
{
filter_->clear();
if (!filter_->text().isEmpty())
filterPressed();
availableLV->setFocus();
DialogView::showEvent(e);
}

View File

@ -68,6 +68,8 @@ What's new
- Show module name with description (bug 11275).
- GuiCitation: Don't reset filter on show (bug 11291).
* DOCUMENTATION AND LOCALIZATION