mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-03 14:13:58 +00:00
Return the right params[embed] from GuiBibtex.cpp, for safety reasons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24054 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
30663a8019
commit
534b81a5c1
@ -372,8 +372,12 @@ void GuiBibtex::applyView()
|
||||
QString item = databaseLW->item(i)->text();
|
||||
docstring bibfile = qstring_to_ucs4(item);
|
||||
dbs += bibfile;
|
||||
if (databaseLW->item(i)->checkState() == Qt::Checked)
|
||||
emb += "embedded";
|
||||
if (databaseLW->item(i)->checkState() == Qt::Checked) {
|
||||
FileName bibfilepath = InsetBibtex::getBibTeXPath(bibfile, buf);
|
||||
string inzipName = EmbeddedFile(bibfilepath.absFilename(),
|
||||
buf.filePath()).inzipName();
|
||||
emb += from_utf8(inzipName);
|
||||
}
|
||||
}
|
||||
|
||||
params_["bibfiles"] = dbs;
|
||||
|
Loading…
Reference in New Issue
Block a user