-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 | |||
@@ -477,9 +477,11 @@ void KDatePicker::keyPressEvent ( QKeyEvent * e ) | |||
477 | 477 | ||
478 | case Qt::Key_Return: | 478 | case Qt::Key_Return: |
479 | tableClickedSlot(); | 479 | tableClickedSlot(); |
480 | break; | 480 | break; |
481 | 481 | case Qt::Key_Escape: | |
482 | e->ignore(); | ||
483 | break; | ||
482 | default: | 484 | default: |
483 | break; | 485 | break; |
484 | } | 486 | } |
485 | 487 | ||