Commit a8f7b166 authored by Jan Möbius's avatar Jan Möbius
Browse files

Do not handle Escape key in datacontrol widget

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@4129 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 4d46113a
......@@ -9,5 +9,8 @@ DatacontrolToolboxWidget::DatacontrolToolboxWidget(QWidget* _parent)
void DatacontrolToolboxWidget::keyPressEvent (QKeyEvent * _event ) {
emit keyEvent( _event );
if ( _event->key() == Qt::Key_Escape )
_event->ignore();
else
emit keyEvent( _event );
}
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