commit e309a5599e74d56a7a749936681a18d186840f83
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Tue Jun 8 13:55:37 2021 +0200

    Fixup f3a0e8ff: forgot to test in main dispatch
    
    I would probably have seen this missing bit if not for the bug fixed
    since then at c9146e5b.
    
    Fixes (again) bug #12074
---
 src/frontends/qt/GuiApplication.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/frontends/qt/GuiApplication.cpp 
b/src/frontends/qt/GuiApplication.cpp
index b818163..1f03997 100644
--- a/src/frontends/qt/GuiApplication.cpp
+++ b/src/frontends/qt/GuiApplication.cpp
@@ -1555,7 +1555,7 @@ void GuiApplication::updateCurrentView(FuncRequest const 
& cmd, DispatchResult &
 
        BufferView * bv = current_view_->currentBufferView();
        if (bv) {
-               if (dr.needBufferUpdate()) {
+               if (dr.needBufferUpdate() || bv->buffer().needUpdate()) {
                        bv->cursor().clearBufferUpdate();
                        bv->buffer().updateBuffer();
                }
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to