Skip to content

Commit

Permalink
fix: sliderMoved event (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 authored Sep 12, 2023
1 parent df2034d commit 409d19e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
File renamed without changes.
1 change: 0 additions & 1 deletion examples/basic.py → examples/range_slider.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

app = QApplication([])

slider = QRangeSlider(Qt.Orientation.Horizontal)
slider = QRangeSlider(Qt.Orientation.Horizontal)

slider.setValue((20, 80))
Expand Down
1 change: 1 addition & 0 deletions src/superqt/sliders/_labeled.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
self._slider = self._slider_class()
self._slider.valueChanged.connect(self.valueChanged.emit)
self._slider.rangeChanged.connect(self.rangeChanged.emit)
self.sliderMoved = self._slider._slidersMoved

self._min_label = SliderLabel(
self._slider,
Expand Down

0 comments on commit 409d19e

Please sign in to comment.