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.
This commit is contained in:
parent
346bfe097f
commit
a42ab09b72
|
@ -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