mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-16 19:31:02 +01:00
Disable seeking while stopped.
Fixes issue 1987.
This commit is contained in:
parent
a452971708
commit
56b05f1dc8
@ -120,7 +120,8 @@ void TrackSlider::SetCanSeek(bool can_seek) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void TrackSlider::Seek(int gap) {
|
void TrackSlider::Seek(int gap) {
|
||||||
ui_->slider->setValue(ui_->slider->value()+gap);
|
if (ui_->slider->isEnabled())
|
||||||
|
ui_->slider->setValue(ui_->slider->value()+gap);
|
||||||
}
|
}
|
||||||
|
|
||||||
void TrackSlider::ValueMaybeChanged(int value) {
|
void TrackSlider::ValueMaybeChanged(int value) {
|
||||||
|
Loading…
Reference in New Issue
Block a user