Skip to content

Commit

Permalink
Fix #109066 : Metronome Gain and Volume slider Left Double click wron…
Browse files Browse the repository at this point in the history
…g default values
  • Loading branch information
nasehim7 authored and Eric Fontaine committed Apr 25, 2017
1 parent 75539eb commit 2e5fa32
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
Original file line number Diff line number Diff line change
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/synthcontrol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ SynthControl::SynthControl(QWidget* parent)
readSettings();
metronome->setDefaultAction(getAction("metronome"));
mgain->setValue(seq->metronomeGain());
mgain->setDclickValue1(seq->metronomeGain() - 10.75f);
mgain->setDclickValue2(seq->metronomeGain() - 10.75f);

updateGui();

Expand Down

0 comments on commit 2e5fa32

Please sign in to comment.