mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 05:55:34 +00:00
Correctly enable/disable citation dialog widgets on initialization.
Thanks Guillaume for pointing this out.
This commit is contained in:
parent
1438123a13
commit
8a0696db29
@ -244,6 +244,10 @@ void GuiCitation::updateControls(BiblioInfo const & bi)
|
|||||||
{
|
{
|
||||||
QModelIndex idx = selectionManager->getSelectedIndex();
|
QModelIndex idx = selectionManager->getSelectedIndex();
|
||||||
updateInfo(bi, idx);
|
updateInfo(bi, idx);
|
||||||
|
int i = citationStyleCO->currentIndex();
|
||||||
|
if (i == -1)
|
||||||
|
i = 0;
|
||||||
|
updateFormatting(citeStyles_[i]);
|
||||||
selectionManager->update();
|
selectionManager->update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -196,6 +196,8 @@ What's new
|
|||||||
|
|
||||||
- Fix possible crash with Save As... when online spell-checking is active.
|
- Fix possible crash with Save As... when online spell-checking is active.
|
||||||
|
|
||||||
|
- Correctly enable/disable citation dialog widgets on initialization.
|
||||||
|
|
||||||
|
|
||||||
* INTERNALS
|
* INTERNALS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user