Commit e75a889e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Qt: allow easy deletion of the keys and global key

This was a regression of the new design
parent 18049f26
......@@ -1492,6 +1492,12 @@ bool KeySelectorControl::eventFilter( QObject *obj, QEvent *e )
selectKey( aTable->currentItem(), aTable->currentColumn() );
return true;
else if( keyEv->key() == Qt::Key_Delete )
aTable->currentItem()->setText( aTable->currentColumn(), NULL );
aTable->currentItem()->setData( aTable->currentColumn(), Qt::UserRole, QVariant() );
return true;
return false;
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