Banks listing declutter
Removed .fxb file extension from drop down menu list
This commit is contained in:
parent
efc86a22c5
commit
d3c550d22e
1 changed files with 2 additions and 2 deletions
|
@ -464,7 +464,7 @@ void ObxdAudioProcessorEditor::sliderValueChanged (Slider* c)
|
||||||
// flt->beginParameterChangeGesture();
|
// flt->beginParameterChangeGesture();
|
||||||
#define sp(T) {flt->setParameterNotifyingHost(T,c->getValue());}
|
#define sp(T) {flt->setParameterNotifyingHost(T,c->getValue());}
|
||||||
#define handleSParam(K,T) if (c == K) {sp(T)} else
|
#define handleSParam(K,T) if (c == K) {sp(T)} else
|
||||||
handleSParam(cutoffKnob,CUTOFF)
|
handleSParam(cutoffKnob,CUTOFF)
|
||||||
handleSParam(resonanceKnob,RESONANCE)
|
handleSParam(resonanceKnob,RESONANCE)
|
||||||
handleSParam(volumeKnob,VOLUME)
|
handleSParam(volumeKnob,VOLUME)
|
||||||
handleSParam(osc1PitchKnob,OSC1P)
|
handleSParam(osc1PitchKnob,OSC1P)
|
||||||
|
@ -664,7 +664,7 @@ void ObxdAudioProcessorEditor::mouseUp(const MouseEvent& e)
|
||||||
for (int i = 0; i < banks.size(); ++i)
|
for (int i = 0; i < banks.size(); ++i)
|
||||||
{
|
{
|
||||||
const File bank = banks.getUnchecked(i);
|
const File bank = banks.getUnchecked(i);
|
||||||
bankMenu.addItem(i + bankStart + 1, bank.getFileName(), true, bank.getFileName() == currentBank);
|
bankMenu.addItem(i + bankStart + 1, bank.getFileNameWithoutExtension(), true, bank.getFileName() == currentBank);
|
||||||
}
|
}
|
||||||
|
|
||||||
menu.addSubMenu("Banks", bankMenu);
|
menu.addSubMenu("Banks", bankMenu);
|
||||||
|
|
Loading…
Reference in a new issue