]> 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)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:56 +0000 (15:48 +0200)
src/insets/InsetInclude.cpp

index 151f14fe5a5059413e736082a9a0d4a41c80b53c..3140a4e6dd5bb1c53ce743c1d23e12b6d51f99ed 100644 (file)
@@ -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;