-rw-r--r-- | korganizer/komonthview.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp index 10e4f1d..4cefb26 100644 --- a/korganizer/komonthview.cpp +++ b/korganizer/komonthview.cpp @@ -969,3 +969,3 @@ void KOMonthView::updateView() // qDebug("---------------------------------------------------------------------+ "); - setFocus(); + mCells[0]->setFocus(); } @@ -1133,4 +1133,4 @@ void KOMonthView::keyPressEvent ( QKeyEvent * e ) { + //qDebug("KOMonthView::keyPressEvent "); switch(e->key()) { - break; case Key_Up: @@ -1138,3 +1138,3 @@ void KOMonthView::keyPressEvent ( QKeyEvent * e ) emit prevMonth(); - setFocus(); + mCells[0]->setFocus(); } @@ -1145,3 +1145,4 @@ void KOMonthView::keyPressEvent ( QKeyEvent * e ) emit nextMonth(); - setFocus(); + mCells[0]->setFocus(); + } |