summaryrefslogtreecommitdiffabout
path: root/korganizer/koviewmanager.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/koviewmanager.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koviewmanager.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/korganizer/koviewmanager.cpp b/korganizer/koviewmanager.cpp
index 90be237..b0f26d1 100644
--- a/korganizer/koviewmanager.cpp
+++ b/korganizer/koviewmanager.cpp
@@ -108,2 +108,4 @@ void KOViewManager::showDateView( int view, QDate date)
+ if (view != 9)
+ lastMode = 0;
//qDebug("%d %d ", lastNDMode, mFlagShowNextxDays );
@@ -117,2 +119,3 @@ void KOViewManager::showDateView( int view, QDate date)
mMainView->showDay( date );
+ lastMode = 1;
} else if (view == 4 ) {
@@ -152,3 +155,2 @@ void KOViewManager::showDateView( int view, QDate date)
}
- lastMode = view;
}