1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-16 11:19:18 +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,7 +120,8 @@ void TrackSlider::SetCanSeek(bool can_seek) {
}
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) {