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,6 +120,7 @@ void TrackSlider::SetCanSeek(bool can_seek) {
|
||||
}
|
||||
|
||||
void TrackSlider::Seek(int gap) {
|
||||
if (ui_->slider->isEnabled())
|
||||
ui_->slider->setValue(ui_->slider->value()+gap);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user