mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Minor re-organization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32975 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
cdd1a5d338
commit
bae9393d53
@ -307,14 +307,11 @@ void MathMacro::updateRepresentation()
|
||||
// update requires
|
||||
requires_ = macro_->requires();
|
||||
|
||||
// non-normal mode? We are done!
|
||||
if (displayMode_ != DISPLAY_NORMAL)
|
||||
if (!needsUpdate_
|
||||
// non-normal mode? We are done!
|
||||
|| (displayMode_ != DISPLAY_NORMAL))
|
||||
return;
|
||||
|
||||
// macro changed?
|
||||
if (!needsUpdate_)
|
||||
return;
|
||||
|
||||
needsUpdate_ = false;
|
||||
|
||||
// get default values of macro
|
||||
|
Loading…
Reference in New Issue
Block a user