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

Fixes: #11352
(cherry picked from commit b8932afed5)
This commit is contained in:
Juergen Spitzmueller 2018-10-30 17:23:08 +01:00
parent b02d9f1075
commit 639aa35444
2 changed files with 7 additions and 1 deletions

View File

@ -284,7 +284,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);

View File

@ -176,6 +176,9 @@ What's new
- Merge paragraphs when pasted into an inset that forbids multiple
paragraphs (bug 8281).
- Fix display issue of individual pre- and posttext in citation dialog
(biblatex only) (bug 11352).
* INTERNALS