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

(cherry picked from commit d9b884341c)
This commit is contained in:
Juergen Spitzmueller 2020-04-17 10:19:46 +02:00
parent e41c790f91
commit f3f0b53ba6
2 changed files with 5 additions and 0 deletions

View File

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

View File

@ -71,6 +71,8 @@ What's new
- Fix tablefootnote loading order (bug 11841).
- Fix reloading of changed include inset (11842).
* USER INTERFACE