Don't hide qualified citation list individual pre- and posttexts on single.item references

See #11697
This commit is contained in:
Juergen Spitzmueller 2019-12-22 14:02:21 +01:00
parent 81bcb04131
commit 00985cf2fa

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