commit e5f23b130d5936ce694e5c7323443edfcdd5fe65
Author: Pavel Sanda <[email protected]>
Date: Thu Jul 17 21:26:19 2025 +0200
* stats - decrease default delay.
With the new id() guard in the place there is less worry
about performance issues.
---
src/frontends/qt/GuiView.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/frontends/qt/GuiView.cpp b/src/frontends/qt/GuiView.cpp
index 3edc86179c..c4fbad7540 100644
--- a/src/frontends/qt/GuiView.cpp
+++ b/src/frontends/qt/GuiView.cpp
@@ -553,7 +553,7 @@ public:
int const timer_rate = 500;
/// Real stats updates infrequently. First they take long time for big
buffers, second
/// they are visible for fast-repeat keyboards even for mid documents.
- int const default_stats_rate = 5000;
+ int const default_stats_rate = 2000;
/// Detection of new selection, so we can react fast
bool already_in_selection_ = false;
/// Maximum size of "short" selection for which we can update with
faster timer_rate
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs