]> git.lyx.org Git - features.git/commitdiff
Reset failedtoload_ bool when include inset params are changed (#11842)
authorJuergen Spitzmueller <spitz@lyx.org>
Fri, 17 Apr 2020 08:19:46 +0000 (10:19 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 18 Apr 2020 05:59:23 +0000 (07:59 +0200)
(cherry picked from commit d9b884341c6c8a3addb95071bc0f203519bfbe0d)

src/insets/InsetInclude.cpp
status.23x

index e21de4d4b8984a914a525b9f4e89e9fe714a853a..7bf23298148589ad97f8758e4ab04e63bf208b8b 100644 (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;
 
index dd7693e3effde7aae8fb76ac78296d89983f15f5..a6ead192bf285ae2412954bf46a0ea4d4e1e3d26 100644 (file)
@@ -71,6 +71,8 @@ What's new
 
 - Fix tablefootnote loading order (bug 11841).
 
+- Fix reloading of changed include inset (11842).
+
 
 * USER INTERFACE