]> git.lyx.org Git - features.git/commit
Fix scrollbar not appearing in new documents unless reloaded (#10729)
authorGuillaume MM <gm@lyx.org>
Mon, 24 Jul 2017 22:15:20 +0000 (00:15 +0200)
committerGuillaume MM <gm@lyx.org>
Mon, 24 Jul 2017 22:33:48 +0000 (00:33 +0200)
commit764c61a08fb4686b457a61fb49bd802a51d9803a
tree22db9fb39e6365c105a7b3a47c2da25751720178
parent52025d5c9b5857ae9a0df67d78cd75f8e955e288
Fix scrollbar not appearing in new documents unless reloaded (#10729)

QSignalBlocker in updateScrollbar is too strong and prevents the scroll bar from
communicating with its scroll area. The only solution to block signals between
specifically between two objects is to disconnect. This makes sense in this
case, by making updateScrollbar responsible for managing the connection in the
first place.
src/frontends/qt4/GuiWorkArea.cpp
src/frontends/qt4/GuiWorkArea_Private.h