mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-08 18:19:42 +00:00
parent
6745690f9a
commit
90b1345203
@ -733,7 +733,7 @@ vector<docstring> GuiCitation::getPostTexts()
|
|||||||
for (int i = 0; i != selected_model_.rowCount(); ++i) {
|
for (int i = 0; i != selected_model_.rowCount(); ++i) {
|
||||||
QStandardItem const * key = selected_model_.item(i, 1);
|
QStandardItem const * key = selected_model_.item(i, 1);
|
||||||
QStandardItem const * post = selected_model_.item(i, 2);
|
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()));
|
res.push_back(qstring_to_ucs4(key->text()) + " " + qstring_to_ucs4(post->text()));
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
|
Loading…
Reference in New Issue
Block a user