From ea43f293c28f21cb0e87b59bdf1576f04b38f88b Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sat, 22 Sep 2018 10:37:22 +0200 Subject: [PATCH] GuiCitation: don't reset filter on show Addresses #11291 (cherry picked from commit 33d6499bbc98fe0efd8e271049cb22944ffbf71c) --- src/frontends/qt4/GuiCitation.cpp | 3 ++- status.23x | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.5