mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-14 17:39:58 +00:00
Make the fix for bug 8999 actually work
This backports 1cdbb94f
which was spotted by cppcheck.
This commit is contained in:
parent
acc771b212
commit
8b31f838c5
@ -329,10 +329,11 @@ private:
|
||||
void MathMacro::updateRepresentation(Cursor * cur, MacroContext const & mc,
|
||||
UpdateType utype)
|
||||
{
|
||||
// block recursive calls (bug 8999)
|
||||
if (isUpdating_)
|
||||
return;
|
||||
|
||||
UpdateLocker(*this);
|
||||
UpdateLocker locker(*this);
|
||||
|
||||
// known macro?
|
||||
if (macro_ == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user