]> git.lyx.org Git - features.git/commitdiff
Dispay pre- and posttext widgets if non-empty also if unapplied
authorJuergen Spitzmueller <spitz@lyx.org>
Tue, 30 Oct 2018 16:23:08 +0000 (17:23 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Tue, 30 Oct 2018 16:23:08 +0000 (17:23 +0100)
Fixes: #11352
src/frontends/qt4/GuiCitation.cpp

index 5e35afca793dd75001c4aaa08f5f10c476b18493..c0618f0d07bde7d1185916ec4c95422ed74f9829 100644 (file)
@@ -287,7 +287,10 @@ void GuiCitation::updateFormatting(CitationStyle const & currentStyle)
        bool const qualified = currentStyle.hasQualifiedList
                && (rows > 1
                    || !params_["pretextlist"].empty()
-                   || !params_["posttextlist"].empty());
+                   || !params_["posttextlist"].empty()
+                   || !getPreTexts().empty()
+                   || !getPostTexts().empty());
+
        selectedLV->horizontalHeader()->setVisible(qualified);
        selectedLV->setColumnHidden(0, !qualified);
        selectedLV->setColumnHidden(2, !qualified);