commit 0b64e97bbc5a7f6e9912c4c8d4d3748040e4062d
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Fri Dec 5 14:13:49 2025 +0100
Do not trigger a redraw before the buffer is ready for it.
The use of Buffer::changed in insertLyXFile is futile (the update will
be done eventually) and broken (updateBuffer has not been run at this
point).
Fixes ticket #13258.
(cherry picked from commit 86dedb5ca8cdca838fe2d0388e360e0a5578d36e)
---
src/BufferView.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/BufferView.cpp b/src/BufferView.cpp
index 08bd5ec923..fc5a4db4fa 100644
--- a/src/BufferView.cpp
+++ b/src/BufferView.cpp
@@ -3488,7 +3488,6 @@ void BufferView::insertLyXFile(FileName const & fname,
bool const ignorelang)
res = _("Could not insert document %1$s");
}
- buffer_.changed(true);
// emit message signal.
message(bformat(res, disp_fn));
}
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs