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:
Stig Bjørlykke 2021-01-02 17:36:50 +01:00 committed by Wireshark GitLab Utility
parent 346bfe097f
commit a42ab09b72
1 changed files with 1 additions and 0 deletions

View File

@ -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()