Dispay pre- and posttext widgets if non-empty also if unapplied

Fixes: #11352
This commit is contained in:
Juergen Spitzmueller 2018-10-30 17:23:08 +01:00
parent 0ec295d63e
commit b8932afed5

View 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);