Reset failedtoload_ bool when include inset params are changed (#11842)

This commit is contained in:
Juergen Spitzmueller 2020-04-17 10:19:46 +02:00
parent 5bc66b5f45
commit d9b884341c

View File

@ -376,6 +376,9 @@ void InsetInclude::setParams(InsetCommandParams const & p)
// invalidate the cache
child_buffer_ = 0;
// reset in order to prevent loading new file
failedtoload_ = false;
InsetCommand::setParams(p);
set_label_ = false;