- clear changedBranches_ cache after branches were changed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30470
a592a061-630c-0410-9148-
cb99ea01b6c8
// Make sure that the bc is in the INITIAL state
if (bc().policy().buttonStatus(ButtonPolicy::RESTORE))
bc().restore();
// Make sure that the bc is in the INITIAL state
if (bc().policy().buttonStatus(ButtonPolicy::RESTORE))
bc().restore();
+
+ // clear changed branches cache
+ changedBranches_.clear();
//selected, and that we don't have conflicts. If so, we could
//at least pop up a warning.
paramsToDialog();
//selected, and that we don't have conflicts. If so, we could
//at least pop up a warning.
paramsToDialog();
- changedBranches_.clear();
// rename branches in the document
executeBranchRenaming();
// 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.
// Apply the BufferParams. Note that this will set the base class
// and then update the buffer's layout.