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-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=6f286bf16caf16aad6e45f156382fcc13a650ef6;p=features.git Reset failedtoload_ bool when include inset params are changed (#11842) --- diff --git a/src/insets/InsetInclude.cpp b/src/insets/InsetInclude.cpp index 151f14fe5a..3140a4e6dd 100644 --- a/src/insets/InsetInclude.cpp +++ b/src/insets/InsetInclude.cpp @@ -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;