-rw-r--r-- | korganizer/koviewmanager.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/korganizer/koviewmanager.cpp b/korganizer/koviewmanager.cpp index 2cd8792..c95917f 100644 --- a/korganizer/koviewmanager.cpp +++ b/korganizer/koviewmanager.cpp | |||
@@ -120,6 +120,7 @@ void KOViewManager::showDateView( int view, QDate date) | |||
120 | mMainView->dateNavigator()->blockSignals( true ); | 120 | mMainView->dateNavigator()->blockSignals( true ); |
121 | showMonthView(); | ||
122 | qApp->processEvents(); | ||
121 | mMainView->dateNavigator()->selectMonthByDate( date ); | 123 | mMainView->dateNavigator()->selectMonthByDate( date ); |
122 | mMainView->dateNavigator()->selectDate( date ); | ||
123 | mMainView->dateNavigator()->blockSignals( false ); | 124 | mMainView->dateNavigator()->blockSignals( false ); |
124 | showMonthView(); | 125 | mMainView->dateNavigator()->selectDate( date ); |
125 | } else if (view == 7 ) { | 126 | } else if (view == 7 ) { |
@@ -152,3 +153,3 @@ void KOViewManager::writeSettings(KConfig *config) | |||
152 | { | 153 | { |
153 | config->setGroup("General"); | 154 | config->setGroup("General"); |
154 | 155 | ||
@@ -525,7 +526,3 @@ void KOViewManager::showMonthView() | |||
525 | // if(mMonthView == mCurrentView) return; | 526 | // if(mMonthView == mCurrentView) return; |
526 | mMainView->dateNavigator()->blockSignals( true ); | ||
527 | mMainView->dateNavigator()->selectMonth(); | 527 | mMainView->dateNavigator()->selectMonth(); |
528 | mMainView->dateNavigator()->blockSignals( false); | ||
529 | // DateList tmpList = mMainView->dateNavigator()->selectedDates( ); | ||
530 | //mMonthView->showDates(tmpList.first(), tmpList.last()); | ||
531 | 528 | ||