Skip to content

Commit

Permalink
Merge pull request #2462 from jackokring/organifix
Browse files Browse the repository at this point in the history
Organic: fix tool tips displaying "%1" instead of oscillator number.
  • Loading branch information
softrabbit committed Nov 25, 2015
2 parents 3e03e71 + 4601def commit 7d38e0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/organic/organic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -557,9 +557,9 @@ void organicInstrumentView::updateKnobHint()
const float harm = oi->m_osc[i]->m_harmModel.value();
const float wave = oi->m_osc[i]->m_oscModel.value();

m_oscKnobs[i].m_harmKnob->setHintText( tr( "Osc %1 harmonic:" ), " (" +
m_oscKnobs[i].m_harmKnob->setHintText( tr( "Osc %1 harmonic:" ).arg( i + 1 ), " (" +
HARMONIC_NAMES[ static_cast<int>( harm ) ] + ")" );
m_oscKnobs[i].m_oscKnob->setHintText( tr( "Osc %1 waveform:" ), " (" +
m_oscKnobs[i].m_oscKnob->setHintText( tr( "Osc %1 waveform:" ).arg( i + 1 ), " (" +
WAVEFORM_NAMES[ static_cast<int>( wave ) ] + ")" );
}
}
Expand Down

0 comments on commit 7d38e0e

Please sign in to comment.