fakevim: leave visual mode if entering insert mode

Merge-request: 96
Reviewed-by: hjk <qtc-committer@nokia.com>
This commit is contained in:
Martin Aumüller
2010-01-05 18:42:26 +01:00
committed by hjk
parent 7ccdbc5e97
commit 29236ea356

View File

@@ -3001,6 +3001,7 @@ void FakeVimHandler::Private::enterInsertMode()
{
EDITOR(setCursorWidth(m_cursorWidth));
EDITOR(setOverwriteMode(false));
leaveVisualMode();
m_mode = InsertMode;
m_lastInsertion.clear();
m_beginEditBlock = true;