Skip to content

Commit

Permalink
fix #91056: BPM field in Play Panel is not immediately synced
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed Aug 18, 2017
1 parent 51c3e43 commit d046ea9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mscore/playpanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ PlayPanel::PlayPanel(QWidget* parent)
connect(tempoSlider, SIGNAL(valueChanged(double,int)), SLOT(relTempoChanged(double,int)));
connect(tempoSlider, SIGNAL(sliderPressed(int)), SLOT(tempoSliderPressed(int)));
connect(tempoSlider, SIGNAL(sliderReleased(int)), SLOT(tempoSliderReleased(int)));
connect(relTempoBox, SIGNAL(editingFinished()), SLOT(relTempoChanged()));
connect(relTempoBox, SIGNAL(valueChanged(double)), SLOT(relTempoChanged()));
connect(seq, SIGNAL(heartBeat(int,int,int)), SLOT(heartBeat(int,int,int)));
}

Expand Down Expand Up @@ -109,7 +109,7 @@ void PlayPanel::relTempoChanged()
{
double v = relTempoBox->value();
tempoSlider->setValue(v);
emit relTempoChanged(v * .01);
relTempoChanged(v, 0);
}

//---------------------------------------------------------
Expand Down

0 comments on commit d046ea9

Please sign in to comment.