]> git.lyx.org Git - features.git/commit
Fix "scroll here" feature of scrollbar (#10311)
authorGuillaume Munch <gm@lyx.org>
Fri, 29 Jul 2016 20:27:13 +0000 (21:27 +0100)
committerGuillaume Munch <gm@lyx.org>
Sun, 31 Jul 2016 17:34:33 +0000 (18:34 +0100)
commit4d7b912ca1890b5b0b3ed29568b7091a7e7baef0
treeaecbccf3a0641c9573115dbee703b86a336d7ecb
parentbc8eb059db9f25b0cb44af0a26fba13170971f40
Fix "scroll here" feature of scrollbar (#10311)

Prevent setRange() from causing a recursive call to scrollTo(). Reduces three
calls of scrollTo() to one call for all scrolling functions of the scroll bar
(e.g. clicking on the arrow, dragging, or clicking somewhere on the scrollbar).
src/BufferView.cpp
src/frontends/qt4/GuiWorkArea.cpp