]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.C
Fix bug 2474; partial fix for 1777. Added last_reference_ member to QRef class and...
[lyx.git] / src / BufferView.C
index ada9cd1171d08a805eb03c8a73aa7088ab7343fb..2c4b7a36b0317d86f295866b16dd9cb2b5751064 100644 (file)
@@ -357,7 +357,8 @@ bool BufferView::update(Update::flags flags)
        LYXERR(Debug::WORKAREA) << "BufferView::update" << std::endl;
 
        // Update macro store
-       buffer_->buildMacros();
+       if (!(cursor().inMathed() && cursor().inMacroMode()))
+               buffer_->buildMacros();
 
        // Now do the first drawing step if needed. This consists on updating
        // the CoordCache in updateMetrics().