forked from qt-creator/qt-creator
FakeVim: Allow upper case letters in <nop>
Change-Id: I38534f917fc641decbae06da8db27a73b18d94f6 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -1040,7 +1040,7 @@ static Input parseVimKeyName(const QString &keyName)
|
|||||||
const QStringList keys = keyName.split(QLatin1Char('-'));
|
const QStringList keys = keyName.split(QLatin1Char('-'));
|
||||||
const int len = keys.length();
|
const int len = keys.length();
|
||||||
|
|
||||||
if (len == 1 && keys.at(0) == _("nop"))
|
if (len == 1 && keys.at(0).toUpper() == _("NOP"))
|
||||||
return Nop;
|
return Nop;
|
||||||
|
|
||||||
int mods = NoModifier;
|
int mods = NoModifier;
|
||||||
|
|||||||
Reference in New Issue
Block a user