- fix broken behaviour of Scrollbar and MouseWheel when

changing between using it and the keyboard-cursor
  movements.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15473 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Asger Ottar Alstrup 2006-10-22 12:36:31 +00:00
parent 578baa8f98
commit 9031593ae1

View File

@ -186,6 +186,7 @@ void GuiWorkArea::setScrollbarParams(int h, int scroll_pos, int scroll_line_step
verticalScrollBar()->setRange(0, scroll_max_);
verticalScrollBar()->setSliderPosition(scroll_pos);
verticalScrollBar()->setSingleStep(scroll_line_step);
verticalScrollBar()->setValue(scroll_pos);
verticalScrollBar()->setTracking(true);
}