forked from osmocom/wireshark
Qt: Connect QScrollbar::actionTriggered to OverlayScrollBar
This will fix the issue where auto scroll during capture is not turned
off when the scroll bar position is changed.
(cherry picked from commit a42ab09b72
)
This commit is contained in:
parent
f95baf9c9c
commit
09d182d987
|
@ -79,6 +79,7 @@ OverlayScrollBar::OverlayScrollBar(Qt::Orientation orientation, QWidget *parent)
|
|||
connect(this, &OverlayScrollBar::valueChanged, &child_sb_, &QScrollBar::setValue);
|
||||
|
||||
connect(&child_sb_, &QScrollBar::valueChanged, this, &OverlayScrollBar::setValue);
|
||||
connect(&child_sb_, &QScrollBar::actionTriggered, this, &OverlayScrollBar::actionTriggered);
|
||||
}
|
||||
|
||||
OverlayScrollBar::~OverlayScrollBar()
|
||||
|
|
Loading…
Reference in New Issue