forked from qt-creator/qt-creator
fakevim: fix handling of the 'Enter' key on the number block
Change-Id: I8d05f9b6a890beb6ff67795e81619e8101127180 Reviewed-by: David Schulz <david.schulz@nokia.com> Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -418,7 +418,7 @@ public:
|
||||
|
||||
bool isReturn() const
|
||||
{
|
||||
return m_key == Key_Return;
|
||||
return m_key == Key_Return || m_key == Key_Enter;
|
||||
}
|
||||
|
||||
bool isEscape() const
|
||||
|
||||
Reference in New Issue
Block a user