From 6f286bf16caf16aad6e45f156382fcc13a650ef6 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Fri, 17 Apr 2020 10:19:46 +0200 Subject: [PATCH] Reset failedtoload_ bool when include inset params are changed (#11842) --- src/insets/InsetInclude.cpp | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.5