Commit 18fcfeb1 authored by hjk's avatar hjk
Browse files

fakevim: potential fix for QTCREATORBUG-1263

parent ac41af36
......@@ -1410,9 +1410,10 @@ EventResult FakeVimHandler::Private::handleCommandSubSubMode(const Input &input)
EventResult FakeVimHandler::Private::handleCommandMode(const Input &input)
{
const int key = input.key;
//const int key0 = input.key;
const int unmodified = input.unmodified;
const QString &text = input.text;
const int key = (text.size() == 1 ? text.at(0).unicode() : input.key);
EventResult handled = EventHandled;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment