-rw-r--r-- | korganizer/komonthview.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp index d0380e3..f9bc1ca 100644 --- a/korganizer/komonthview.cpp +++ b/korganizer/komonthview.cpp @@ -951,4 +951,7 @@ void KOMonthView::selectInternalWeekNum ( int n ) { switchView(); + if ( !KOPrefs::instance()->mMonthViewWeek ) + emit selectMonth (); + else emit selectWeekNum ( n ); } @@ -962,5 +965,4 @@ int KOMonthView::currentWeek() void KOMonthView::switchView() { - if ( selectedCell( ) ) selectedCell()->deselect(); |