Skip to content

Commit

Permalink
Renamed function
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephTLyons committed Jan 21, 2019
1 parent 68eae59 commit 28796cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions Source/MainComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1018,12 +1018,11 @@ void MainComponent::updateValuesAndFields()
else
values.calculateHertz (tempoSlider->getValue());

populateFieldsWithValues();
populateLabelsWithValues();
}

void MainComponent::populateFieldsWithValues()
void MainComponent::populateLabelsWithValues()
{
// Set values for all text labels
wholeNLabel->setText ((String) values.getWholeN(), dontSendNotification);
wholeDLabel->setText ((String) values.getWholeD(), dontSendNotification);
wholeTLabel->setText ((String) values.getWholeT(), dontSendNotification);
Expand Down
2 changes: 1 addition & 1 deletion Source/MainComponent.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class MainComponent : public Component,
const bool &isFineSelected, const double &increment);
void setBpmLabelValue();
void updateValuesAndFields();
void populateFieldsWithValues();
void populateLabelsWithValues();
void resetTapTempo();
void buildInformationWindow();

Expand Down

0 comments on commit 28796cb

Please sign in to comment.