Commit eb6c2f93 authored by Dirk Mueller's avatar Dirk Mueller
Browse files

yeah, right. (CID 2296)

svn path=/trunk/koffice/; revision=546507
parent 1453bc07
......@@ -155,9 +155,10 @@ void KoInteractionTool::mouseReleaseEvent( KoGfxEvent *event ) {
}
void KoInteractionTool::keyPressEvent(QKeyEvent *event) {
if(m_currentStrategy != 0 && event->key() == Qt::Key_Control ||
if(m_currentStrategy &&
(event->key() == Qt::Key_Control ||
event->key() == Qt::Key_Alt || event->key() == Qt::Key_Shift ||
event->key() == Qt::Key_Meta) {
event->key() == Qt::Key_Meta)) {
m_currentStrategy->handleMouseMove( m_lastPoint, event->modifiers() );
}
}
......
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