1
0
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:
Tyler Rhodes 2011-06-14 12:21:53 +00:00
parent a452971708
commit 56b05f1dc8

View File

@ -120,6 +120,7 @@ void TrackSlider::SetCanSeek(bool can_seek) {
} }
void TrackSlider::Seek(int gap) { void TrackSlider::Seek(int gap) {
if (ui_->slider->isEnabled())
ui_->slider->setValue(ui_->slider->value()+gap); ui_->slider->setValue(ui_->slider->value()+gap);
} }