From: Juergen Spitzmueller Date: Tue, 30 Oct 2018 16:23:08 +0000 (+0100) Subject: Dispay pre- and posttext widgets if non-empty also if unapplied X-Git-Tag: lyx-2.4.0dev-acb2ca7b~2944 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b8932afed543421defde7b46e4102a82b4faabe4;p=features.git Dispay pre- and posttext widgets if non-empty also if unapplied Fixes: #11352 --- diff --git a/src/frontends/qt4/GuiCitation.cpp b/src/frontends/qt4/GuiCitation.cpp index 5e35afca79..c0618f0d07 100644 --- a/src/frontends/qt4/GuiCitation.cpp +++ b/src/frontends/qt4/GuiCitation.cpp @@ -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);