]> git.lyx.org Git - features.git/commitdiff
GuiCitation: don't reset filter on show
authorJuergen Spitzmueller <spitz@lyx.org>
Sat, 22 Sep 2018 08:37:22 +0000 (10:37 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 22 Sep 2018 08:37:22 +0000 (10:37 +0200)
Addresses #11291

src/frontends/qt4/GuiCitation.cpp

index 19028be8961c0afc8d576eb51be20e2835f1056b..41de1e5ed72740ad81283f6491dcc08198ff88bf 100644 (file)
@@ -202,7 +202,8 @@ void GuiCitation::applyView()
 
 void GuiCitation::showEvent(QShowEvent * e)
 {
-       filter_->clear();
+       if (!filter_->text().isEmpty())
+               filterPressed();
        availableLV->setFocus();
        DialogView::showEvent(e);
 }