-rw-r--r-- | korganizer/calendarview.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 6746de2..a10e93c 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp | |||
@@ -2632,5 +2632,10 @@ void CalendarView::updateView(const QDate &start, const QDate &end) | |||
2632 | #ifdef DESKTOP_VERSION | 2632 | #ifdef DESKTOP_VERSION |
2633 | mDateScrollBar->blockSignals( true ); | 2633 | if ( ! mDateScrollBar->draggingSlider () ) { |
2634 | mDateScrollBar->setValue( start.dayOfYear()-1); | 2634 | int dof = start.dayOfYear()-1; |
2635 | mDateScrollBar->blockSignals( false ); | 2635 | if ( dof != mDateScrollBar->value() ) { |
2636 | mDateScrollBar->blockSignals( true ); | ||
2637 | mDateScrollBar->setValue( start.dayOfYear()-1); | ||
2638 | mDateScrollBar->blockSignals( false ); | ||
2639 | } | ||
2640 | } | ||
2636 | #endif | 2641 | #endif |