mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix bug 4651. Bo, if you read this: Is there a cleaner way to do this, so that we can set parameters the way we used to? i.e., via setParam(p) here? rather than having to go through these hoops in updateParam()?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23938 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ebc3f47945
commit
7460abc627
@ -107,6 +107,7 @@ void InsetBibtex::doDispatch(Cursor & cur, FuncRequest & cmd)
|
||||
//
|
||||
createBibFiles(p["bibfiles"], p["embed"]);
|
||||
updateParam();
|
||||
setParam("options", p["options"]);
|
||||
buffer().updateBibfilesCache();
|
||||
break;
|
||||
}
|
||||
@ -782,8 +783,10 @@ void InsetBibtex::updateParam()
|
||||
docstring embed;
|
||||
|
||||
bool first = true;
|
||||
for (EmbeddedFileList::iterator it = bibfiles_.begin();
|
||||
it != bibfiles_.end(); ++it) {
|
||||
|
||||
EmbeddedFileList::iterator it = bibfiles_.begin();
|
||||
EmbeddedFileList::iterator en = bibfiles_.end();
|
||||
for (; it != en; ++it) {
|
||||
if (!first) {
|
||||
bibfiles += ',';
|
||||
embed += ',';
|
||||
|
Loading…
Reference in New Issue
Block a user