mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
Dispay pre- and posttext widgets if non-empty also if unapplied
Fixes: #11352
This commit is contained in:
parent
0ec295d63e
commit
b8932afed5
@ -287,7 +287,10 @@ void GuiCitation::updateFormatting(CitationStyle const & currentStyle)
|
|||||||
bool const qualified = currentStyle.hasQualifiedList
|
bool const qualified = currentStyle.hasQualifiedList
|
||||||
&& (rows > 1
|
&& (rows > 1
|
||||||
|| !params_["pretextlist"].empty()
|
|| !params_["pretextlist"].empty()
|
||||||
|| !params_["posttextlist"].empty());
|
|| !params_["posttextlist"].empty()
|
||||||
|
|| !getPreTexts().empty()
|
||||||
|
|| !getPostTexts().empty());
|
||||||
|
|
||||||
selectedLV->horizontalHeader()->setVisible(qualified);
|
selectedLV->horizontalHeader()->setVisible(qualified);
|
||||||
selectedLV->setColumnHidden(0, !qualified);
|
selectedLV->setColumnHidden(0, !qualified);
|
||||||
selectedLV->setColumnHidden(2, !qualified);
|
selectedLV->setColumnHidden(2, !qualified);
|
||||||
|
Loading…
Reference in New Issue
Block a user