mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Fixup 999fb37e
: always run updateMacros when in batch mode
The optimization is useful in GUI mode only, and it turns out that it creates weird crashes otherwise. Thanks to Juergen Spitzmuller for the idea.
This commit is contained in:
parent
003bbd3483
commit
fe1a3b57df
@ -3922,7 +3922,7 @@ void Buffer::updateMacros() const
|
||||
return;
|
||||
|
||||
// early exit if the buffer has not changed since last time
|
||||
if (d->update_macros_id_ == d->id_)
|
||||
if (d->gui_ && d->update_macros_id_ == d->id_)
|
||||
return;
|
||||
d->update_macros_id_ = d->id_;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user