-rw-r--r-- | korganizer/komonthview.cpp | 8 |
1 files changed, 5 insertions, 3 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 ) | |||
951 | { | 951 | { |
952 | switchView(); | 952 | switchView(); |
953 | emit selectWeekNum ( n ); | 953 | if ( !KOPrefs::instance()->mMonthViewWeek ) |
954 | emit selectMonth (); | ||
955 | else | ||
956 | emit selectWeekNum ( n ); | ||
954 | } | 957 | } |
@@ -963,3 +966,2 @@ void KOMonthView::switchView() | |||
963 | { | 966 | { |
964 | |||
965 | if ( selectedCell( ) ) | 967 | if ( selectedCell( ) ) |