author | zautrix <zautrix> | 2005-01-31 12:09:55 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-31 12:09:55 (UTC) |
commit | 5d52c81be9b43887c13f8534a04164d3b44b821f (patch) (side-by-side diff) | |
tree | 79942122f3745a55fa08371970625f3e8733f5fa | |
parent | 0ee7cc932ca9c973b086f847a38d29531a815712 (diff) | |
download | kdepimpi-5d52c81be9b43887c13f8534a04164d3b44b821f.zip kdepimpi-5d52c81be9b43887c13f8534a04164d3b44b821f.tar.gz kdepimpi-5d52c81be9b43887c13f8534a04164d3b44b821f.tar.bz2 |
fix
-rw-r--r-- | korganizer/koviewmanager.cpp | 9 |
1 files changed, 3 insertions, 6 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) mMainView->dateNavigator()->blockSignals( true ); + showMonthView(); + qApp->processEvents(); mMainView->dateNavigator()->selectMonthByDate( date ); - mMainView->dateNavigator()->selectDate( date ); mMainView->dateNavigator()->blockSignals( false ); - showMonthView(); + mMainView->dateNavigator()->selectDate( date ); } else if (view == 7 ) { @@ -525,7 +526,3 @@ void KOViewManager::showMonthView() // if(mMonthView == mCurrentView) return; - mMainView->dateNavigator()->blockSignals( true ); mMainView->dateNavigator()->selectMonth(); - mMainView->dateNavigator()->blockSignals( false); - // DateList tmpList = mMainView->dateNavigator()->selectedDates( ); - //mMonthView->showDates(tmpList.first(), tmpList.last()); |