Previous commit did not distinguish whether the changes were applied or cancelled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40487
a592a061-630c-0410-9148-
cb99ea01b6c8
void GuiDocument::biblioChanged()
{
- buffer().invalidateBibinfoCache();
- buffer().removeBiblioTempFiles();
+ biblioChanged_ = true;
changed();
}
else
bp_.bibtex_command = bibtex_command + " " + bibtex_options;
+ if (biblioChanged_) {
+ buffer().invalidateBibinfoCache();
+ buffer().removeBiblioTempFiles();
+ }
+
// Indices
indicesModule->apply(bp_);
std::map<docstring, docstring> changedBranches_;
///
std::list<std::string> includeonlys_;
+ ///
+ bool biblioChanged_;
};