summaryrefslogtreecommitdiffabout
path: root/libkdepim/kdatepicker.cpp
Unidiff
Diffstat (limited to 'libkdepim/kdatepicker.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/kdatepicker.cpp4
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 )
473 473
474 case Qt::Key_Up: 474 case Qt::Key_Up:
475 yearBackwardClicked(); 475 yearBackwardClicked();
476 break; 476 break;
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
486} 488}