summaryrefslogtreecommitdiffabout
path: root/korganizer/koviewmanager.cpp
authorzautrix <zautrix>2005-02-07 22:39:50 (UTC)
committer zautrix <zautrix>2005-02-07 22:39:50 (UTC)
commit9927a063f34bb826a4b5f7f7029308c9c66acbce (patch) (side-by-side diff)
tree740386010794c8f5d50b92d49146642709a52e67 /korganizer/koviewmanager.cpp
parentd7a005e6c1a27d1084f30b940d54291a8d660f0e (diff)
downloadkdepimpi-9927a063f34bb826a4b5f7f7029308c9c66acbce.zip
kdepimpi-9927a063f34bb826a4b5f7f7029308c9c66acbce.tar.gz
kdepimpi-9927a063f34bb826a4b5f7f7029308c9c66acbce.tar.bz2
fihix
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
@@ -106,6 +106,8 @@ void KOViewManager::showDateView( int view, QDate date)
static QDate lastDate;
//qDebug("date %d %s", view, date.toString().latin1());
+ if (view != 9)
+ lastMode = 0;
//qDebug("%d %d ", lastNDMode, mFlagShowNextxDays );
bool savemFlagShowNextxDays = mFlagShowNextxDays;
mFlagShowNextxDays = false;
@@ -115,6 +117,7 @@ void KOViewManager::showDateView( int view, QDate date)
lastCount = mMainView->dateNavigator()->selectedDates().count();
lastNDMode = savemFlagShowNextxDays;
mMainView->showDay( date );
+ lastMode = 1;
} else if (view == 4 ) {
mCurrentAgendaView = 7 ;
mMainView->dateNavigator()->selectDates( date, 7 );
@@ -150,7 +153,6 @@ void KOViewManager::showDateView( int view, QDate date)
} else if (view == 10) {
mMainView->dateNavigator()->selectDates( date,mMainView->dateNavigator()->selectedDates().count() );
}
- lastMode = view;
}