From f3f0b53ba6bb01f2b687de7892665ae42f5230a8 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) (cherry picked from commit d9b884341c6c8a3addb95071bc0f203519bfbe0d) --- src/insets/InsetInclude.cpp | 3 +++ status.23x | 2 ++ 2 files changed, 5 insertions(+) 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