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
1 changed files with 2 additions and 1 deletions

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) {