summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--korganizer/calendarview.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp
index 6746de2..a10e93c 100644
--- a/korganizer/calendarview.cpp
+++ b/korganizer/calendarview.cpp
@@ -2629,11 +2629,16 @@ void CalendarView::updateTodoViews()
void CalendarView::updateView(const QDate &start, const QDate &end)
{
#ifdef DESKTOP_VERSION
+ if ( ! mDateScrollBar->draggingSlider () ) {
+ int dof = start.dayOfYear()-1;
+ if ( dof != mDateScrollBar->value() ) {
mDateScrollBar->blockSignals( true );
mDateScrollBar->setValue( start.dayOfYear()-1);
mDateScrollBar->blockSignals( false );
+ }
+ }
#endif
mTodoList->updateView();
mViewManager->updateView(start, end);
//mDateNavigator->updateView();