]> git.lyx.org Git - lyx.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>
Mon, 8 Oct 2018 09:36:47 +0000 (11:36 +0200)
Addresses #11291

(cherry picked from commit 33d6499bbc98fe0efd8e271049cb22944ffbf71c)

src/frontends/qt4/GuiCitation.cpp
status.23x

index 4e96b74555fcfe0541cd714c24d20b4a7110c1fe..15bb8dd86e537b31aa8a28609083df3d86ead9d9 100644 (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);
 }
index 66ef597bd00b38a4d0b18ebb48ac9fe04fc55b37..0a74e1543212f53cebbccac5ddd78287d9505b21 100644 (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