]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetInclude.cpp
Reset failedtoload_ bool when include inset params are changed (#11842)
[features.git] / 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;