mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Revert "Do not update statistics when not requested."
Actually, this test was already present.
This reverts commit c50debaffc
.
This commit is contained in:
parent
4560cfd012
commit
ac018b0304
@ -1481,8 +1481,7 @@ void GuiView::showStats()
|
||||
// Don't attempt to calculate stats if
|
||||
// the buffer is busy as this might crash (#12935)
|
||||
Statistics & statistics = buf->statistics();
|
||||
if (!busy() && !bv->busy()
|
||||
&& (word_count_enabled_ || char_count_enabled_ || char_nb_count_enabled_))
|
||||
if (!busy() && !bv->busy())
|
||||
statistics.update(cur);
|
||||
|
||||
QStringList stats;
|
||||
|
Loading…
Reference in New Issue
Block a user