From bb74ffa01010ca364e101e05a6b3e090ae363a0e Mon Sep 17 00:00:00 2001 From: zautrix Date: Sun, 20 Feb 2005 11:14:04 +0000 Subject: minor month-weekview fixes --- (limited to 'korganizer') diff --git a/korganizer/komonthview.h b/korganizer/komonthview.h index b79a41f..f92a69a 100644 --- a/korganizer/komonthview.h +++ b/korganizer/komonthview.h @@ -226,7 +226,7 @@ class KOMonthView: public KOEventView virtual void printPreview(CalPrinter *calPrinter, const QDate &, const QDate &); - bool isMonthView() { return true; } + bool isMonthView() { return !mShowWeekView; } bool isUpdatePossible() { return updatePossible; } MonthViewCell * selectedCell(); diff --git a/korganizer/koviewmanager.cpp b/korganizer/koviewmanager.cpp index ac67b58..a9f5a41 100644 --- a/korganizer/koviewmanager.cpp +++ b/korganizer/koviewmanager.cpp @@ -557,6 +557,7 @@ if (!mMonthView) { void KOViewManager::showMonthViewWeek() { createMonthView(); + globalFlagBlockAgenda = 1; bool full = true; if ( mCurrentView == mMonthView) full = mMainView->leftFrame()->isVisible(); -- cgit v0.9.0.2