commit d9b884341c6c8a3addb95071bc0f203519bfbe0d
Author: Juergen Spitzmueller <[email protected]>
Date: Fri Apr 17 10:19:46 2020 +0200
Reset failedtoload_ bool when include inset params are changed (#11842)
---
src/insets/InsetInclude.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/insets/InsetInclude.cpp b/src/insets/InsetInclude.cpp
index 151f14f..3140a4e 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;
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs