From: Juergen Spitzmueller Date: Sat, 22 Sep 2018 08:37:22 +0000 (+0200) Subject: GuiCitation: don't reset filter on show X-Git-Tag: 2.3.2~41 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=ea43f293c28f21cb0e87b59bdf1576f04b38f88b;p=features.git GuiCitation: don't reset filter on show Addresses #11291 (cherry picked from commit 33d6499bbc98fe0efd8e271049cb22944ffbf71c) --- diff --git a/src/frontends/qt4/GuiCitation.cpp b/src/frontends/qt4/GuiCitation.cpp index 4e96b74555..15bb8dd86e 100644 --- a/src/frontends/qt4/GuiCitation.cpp +++ b/src/frontends/qt4/GuiCitation.cpp @@ -204,7 +204,8 @@ void GuiCitation::applyView() void GuiCitation::showEvent(QShowEvent * e) { - filter_->clear(); + if (!filter_->text().isEmpty()) + filterPressed(); availableLV->setFocus(); DialogView::showEvent(e); } diff --git a/status.23x b/status.23x index 66ef597bd0..0a74e15432 100644 --- a/status.23x +++ b/status.23x @@ -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