-rw-r--r-- | libkdepim/kdatepicker.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libkdepim/kdatepicker.cpp b/libkdepim/kdatepicker.cpp index 77793c4..6cb432b 100644 --- a/libkdepim/kdatepicker.cpp +++ b/libkdepim/kdatepicker.cpp @@ -473,14 +473,16 @@ void KDatePicker::keyPressEvent ( QKeyEvent * e ) case Qt::Key_Up: yearBackwardClicked(); break; case Qt::Key_Return: tableClickedSlot(); break; - + case Qt::Key_Escape: + e->ignore(); + break; default: break; } } |