Commit e849fb6c authored by con's avatar con

FakeVim: Fix Ctrl+ shortcuts on Mac.

Wouldn't work if there also was a non-ctrl shortcut for the same key.

Task-number: QTCREATORBUG-3928
Reviewed-by: hjk
parent 798225ce
......@@ -409,7 +409,13 @@ public:
bool is(int c) const
{
return m_xkey == c && m_modifiers != Qt::ControlModifier;
return m_xkey == c && m_modifiers !=
#ifdef Q_WS_MAC
Qt::MetaModifier
#else
Qt::ControlModifier
#endif
;
}
bool isControl(int c) const
......
Markdown is supported
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