From 5d52c81be9b43887c13f8534a04164d3b44b821f Mon Sep 17 00:00:00 2001 From: zautrix Date: Mon, 31 Jan 2005 12:09:55 +0000 Subject: fix --- (limited to 'korganizer') diff --git a/korganizer/koviewmanager.cpp b/korganizer/koviewmanager.cpp index 2cd8792..c95917f 100644 --- a/korganizer/koviewmanager.cpp +++ b/korganizer/koviewmanager.cpp @@ -118,10 +118,11 @@ void KOViewManager::showDateView( int view, QDate date) mMainView->dateNavigator()->selectDates( date, 14); } else if (view == 6 ) { 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 ) { mMainView->dateNavigator()->selectDate( date ); showJournalView(); @@ -150,7 +151,7 @@ void KOViewManager::showDateView( int view, QDate date) void KOViewManager::writeSettings(KConfig *config) { - config->setGroup("General"); + config->setGroup("General"); QString view; if (mCurrentView == mWhatsNextView) view = "WhatsNext"; @@ -523,11 +524,7 @@ void KOViewManager::showMonthView() globalFlagBlockAgenda = 1; //mFlagShowNextxDays = false; // 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()); showView(mMonthView, true ); -- cgit v0.9.0.2