]> git.lyx.org Git - features.git/commitdiff
Don't hide qualified citation list individual pre- and posttexts on single.item refer...
authorJuergen Spitzmueller <spitz@lyx.org>
Sun, 22 Dec 2019 13:02:21 +0000 (14:02 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:48 +0000 (15:48 +0200)
See #11697

src/frontends/qt/GuiCitation.cpp

index 88a22fe2e080442936601c847334805540d8341c..c14d34e8c10f593f2a6e43e4fbe717e0cf4a4051 100644 (file)
@@ -284,12 +284,7 @@ void GuiCitation::updateFormatting(CitationStyle const & currentStyle)
 
        int const rows = selectedLV->model()->rowCount();
 
-       bool const qualified = currentStyle.hasQualifiedList
-               && (rows > 1
-                   || !params_["pretextlist"].empty()
-                   || !params_["posttextlist"].empty()
-                   || !getPreTexts().empty()
-                   || !getPostTexts().empty());
+       bool const qualified = currentStyle.hasQualifiedList && rows > 0;
 
        selectedLV->horizontalHeader()->setVisible(qualified);
        selectedLV->setColumnHidden(0, !qualified);