mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +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
|
// update requires
|
||||||
requires_ = macro_->requires();
|
requires_ = macro_->requires();
|
||||||
|
|
||||||
// non-normal mode? We are done!
|
if (!needsUpdate_
|
||||||
if (displayMode_ != DISPLAY_NORMAL)
|
// non-normal mode? We are done!
|
||||||
|
|| (displayMode_ != DISPLAY_NORMAL))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// macro changed?
|
|
||||||
if (!needsUpdate_)
|
|
||||||
return;
|
|
||||||
|
|
||||||
needsUpdate_ = false;
|
needsUpdate_ = false;
|
||||||
|
|
||||||
// get default values of macro
|
// get default values of macro
|
||||||
|
Loading…
Reference in New Issue
Block a user