commit 86dedb5ca8cdca838fe2d0388e360e0a5578d36e
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.
---
src/BufferView.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/BufferView.cpp b/src/BufferView.cpp
index 97ca1a5581..9c74583c03 100644
--- a/src/BufferView.cpp
+++ b/src/BufferView.cpp
@@ -3517,7 +3517,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