Skip to content

Commit

Permalink
Merge pull request #3135 from nasehim7/ch
Browse files Browse the repository at this point in the history
Fix #109066 : Tempo Slider and Volume slider Left Double click wrong default values
  • Loading branch information
lasconic committed Apr 22, 2017
2 parents f6eef92 + 17d33b6 commit 49c66b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion awl/volslider.cpp
Expand Up @@ -36,7 +36,7 @@ VolSlider::VolSlider(QWidget* parent)
setScaleWidth(7);
setLineStep(.8f);
setPageStep(3.0f);
setDclickValue1(_minValue);
setDclickValue1(0.0);
setDclickValue2(0.0);
}

Expand Down
2 changes: 2 additions & 0 deletions mscore/playpanel.cpp
Expand Up @@ -62,6 +62,8 @@ PlayPanel::PlayPanel(QWidget* parent)
tempoSlider->setUseActualValue(true);

mgainSlider->setValue(seq->metronomeGain());
mgainSlider->setDclickValue1(seq->metronomeGain() - 10.75f);
mgainSlider->setDclickValue2(seq->metronomeGain() - 10.75f);

connect(volumeSlider, SIGNAL(valueChanged(double,int)), SLOT(volumeChanged(double,int)));
connect(mgainSlider, SIGNAL(valueChanged(double,int)), SLOT(metronomeGainChanged(double,int)));
Expand Down

0 comments on commit 49c66b2

Please sign in to comment.