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
This commit is contained in:
Jean-Marc Lasgouttes 2021-06-08 13:55:37 +02:00
parent 9c1cacaf18
commit e309a5599e

View File

@ -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();
}