mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 22:41:09 +00:00
Don't hide qualified citation list individual pre- and posttexts on single.item references
See #11697
This commit is contained in:
parent
81bcb04131
commit
00985cf2fa
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user