From: Juergen Spitzmueller Date: Fri, 17 Apr 2020 08:19:46 +0000 (+0200) Subject: Reset failedtoload_ bool when include inset params are changed (#11842) X-Git-Tag: 2.3.5~57 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f3f0b53ba6bb01f2b687de7892665ae42f5230a8;p=features.git Reset failedtoload_ bool when include inset params are changed (#11842) (cherry picked from commit d9b884341c6c8a3addb95071bc0f203519bfbe0d) --- diff --git a/src/insets/InsetInclude.cpp b/src/insets/InsetInclude.cpp index e21de4d4b8..7bf2329814 100644 --- a/src/insets/InsetInclude.cpp +++ b/src/insets/InsetInclude.cpp @@ -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; diff --git a/status.23x b/status.23x index dd7693e3ef..a6ead192bf 100644 --- a/status.23x +++ b/status.23x @@ -71,6 +71,8 @@ What's new - Fix tablefootnote loading order (bug 11841). +- Fix reloading of changed include inset (11842). + * USER INTERFACE