forked from qt-creator/qt-creator
VCS: FakeVim: Ensure log editor is handled as readonly
Fixes: QTCREATORBUG-22595 Change-Id: Iab51eda5e55d36e98cf0ba5116853d6bee1dbd10 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -4139,6 +4139,8 @@ EventResult FakeVimHandler::Private::handleCommandMode(const Input &input)
|
||||
// Process input for a sub-mode.
|
||||
if (input.isEscape()) {
|
||||
handled = handleEscape();
|
||||
} else if (m_wasReadOnly) {
|
||||
return EventUnhandled;
|
||||
} else if (g.subsubmode != NoSubSubMode) {
|
||||
handled = handleCommandSubSubMode(input);
|
||||
} else if (g.submode == NoSubMode) {
|
||||
|
||||
Reference in New Issue
Block a user