mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Do not store empty posttext for qualified citations
Fixes: #11308
(cherry picked from commit 90b1345203
)
This commit is contained in:
parent
416b71883b
commit
76c15f51ea
@ -738,7 +738,7 @@ vector<docstring> GuiCitation::getPostTexts()
|
||||
for (int i = 0; i != selected_model_.rowCount(); ++i) {
|
||||
QStandardItem const * key = selected_model_.item(i, 1);
|
||||
QStandardItem const * post = selected_model_.item(i, 2);
|
||||
if (key && post)
|
||||
if (key && post && !key->text().isEmpty() && !post->text().isEmpty())
|
||||
res.push_back(qstring_to_ucs4(key->text()) + " " + qstring_to_ucs4(post->text()));
|
||||
}
|
||||
return res;
|
||||
|
@ -124,6 +124,8 @@ What's new
|
||||
|
||||
- Fix crash on Windows when closing external viewers (bug 11210).
|
||||
|
||||
- Fix issue with erroneous qualified citations (bug 11308).
|
||||
|
||||
|
||||
|
||||
* USER INTERFACE
|
||||
|
Loading…
Reference in New Issue
Block a user