Diffstat (limited to 'korganizer/koviewmanager.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/koviewmanager.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/korganizer/koviewmanager.cpp b/korganizer/koviewmanager.cpp index 3aa9b6c..2e5a943 100644 --- a/korganizer/koviewmanager.cpp +++ b/korganizer/koviewmanager.cpp @@ -319,2 +319,3 @@ void KOViewManager::showView(KOrg::BaseView *view, bool fullScreen ) mMainView->adaptNavigationUnits(); + mMainView->updateUnmanagedViews(); } @@ -399,2 +400,3 @@ void KOViewManager::showWhatsNextView() globalFlagBlockAgenda = 1; + KOPrefs::instance()->mCurrentDisplayedView = VIEW_WN_VIEW; showView(mWhatsNextView, true ); @@ -445,2 +447,3 @@ void KOViewManager::showListView() } + KOPrefs::instance()->mCurrentDisplayedView = VIEW_L_VIEW; showView(mListView, KOPrefs::instance()->mFullViewTodo); @@ -512,2 +515,3 @@ void KOViewManager::showAgendaView( bool fullScreen ) + KOPrefs::instance()->mCurrentDisplayedView = VIEW_A_VIEW; showView( mAgendaView, full); @@ -570,2 +574,3 @@ void KOViewManager::showNextXView() + KOPrefs::instance()->mCurrentDisplayedView = VIEW_NX_VIEW; globalFlagBlockAgenda = 1; @@ -657,2 +662,3 @@ void KOViewManager::showMonthViewWeek() createMonthView(); + KOPrefs::instance()->mCurrentDisplayedView = VIEW_ML_VIEW ; globalFlagBlockAgenda = 1; @@ -685,2 +691,3 @@ void KOViewManager::showMonthView() createMonthView(); + KOPrefs::instance()->mCurrentDisplayedView = VIEW_M_VIEW ; globalFlagBlockAgenda = 1; @@ -756,2 +763,3 @@ void KOViewManager::showTodoView() + KOPrefs::instance()->mCurrentDisplayedView = VIEW_T_VIEW ; globalFlagBlockAgenda = 1; @@ -774,2 +782,3 @@ void KOViewManager::showJournalView() + KOPrefs::instance()->mCurrentDisplayedView = VIEW_J_VIEW ; showView(mJournalView); |