- update colors before changing branches.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30471
a592a061-630c-0410-9148-
cb99ea01b6c8
bp_.footskip = widgetsToLength(m->footskipLE, m->footskipUnit);
bp_.columnsep = widgetsToLength(m->columnsepLE, m->columnsepUnit);
bp_.footskip = widgetsToLength(m->footskipLE, m->footskipUnit);
bp_.columnsep = widgetsToLength(m->columnsepLE, m->columnsepUnit);
branchesModule->apply(bp_);
// PDF support
branchesModule->apply(bp_);
// PDF support
// This must come first so that a language change is correctly noticed
setLanguage();
// This must come first so that a language change is correctly noticed
setLanguage();
- // rename branches in the document
- executeBranchRenaming();
- // and clear changed branches cache
- changedBranches_.clear();
-
// Apply the BufferParams. Note that this will set the base class
// and then update the buffer's layout.
dispatch_bufferparams(*this, params(), LFUN_BUFFER_PARAMS_APPLY);
// Apply the BufferParams. Note that this will set the base class
// and then update the buffer's layout.
dispatch_bufferparams(*this, params(), LFUN_BUFFER_PARAMS_APPLY);
dispatch(FuncRequest(LFUN_ALL_INSETS_TOGGLE,
"assign branch"));
}
dispatch(FuncRequest(LFUN_ALL_INSETS_TOGGLE,
"assign branch"));
}
+ // rename branches in the document
+ executeBranchRenaming();
+ // and clear changed branches cache
+ changedBranches_.clear();
+
// Generate the colours requested by indices.
IndicesList & indiceslist = params().indiceslist();
if (!indiceslist.empty()) {
// Generate the colours requested by indices.
IndicesList & indiceslist = params().indiceslist();
if (!indiceslist.empty()) {