Update cursor position after committing IM string

This commit is contained in:
Jean-Marc Lasgouttes 2018-04-18 17:39:43 +02:00
parent 2822d91224
commit 01fea56eb6

View File

@ -1285,6 +1285,7 @@ void GuiWorkArea::inputMethodEvent(QInputMethodEvent * e)
d->buffer_view_->cursor().insert(qstring_to_ucs4(e->commitString()));
d->buffer_view_->updateMetrics();
d->buffer_view_->cursor().endUndoGroup();
d->updateCaretGeometry();
viewport()->update();
}