Update PluginProcessor.cpp
This commit is contained in:
parent
bb86d53cae
commit
27ada371d1
1 changed files with 3 additions and 3 deletions
|
@ -517,13 +517,13 @@ bool ObxdAudioProcessor::savePreset(const File& fxpFile) {
|
||||||
void ObxdAudioProcessor::changePresetName(const String &name){
|
void ObxdAudioProcessor::changePresetName(const String &name){
|
||||||
programs.currentProgramPtr->name = name;
|
programs.currentProgramPtr->name = name;
|
||||||
//savePreset();
|
//savePreset();
|
||||||
saveBank();
|
//saveBank();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ObxdAudioProcessor::deletePreset(){
|
void ObxdAudioProcessor::deletePreset(){
|
||||||
programs.currentProgramPtr->setDefaultValues();
|
programs.currentProgramPtr->setDefaultValues();
|
||||||
programs.currentProgramPtr->name = "Default";
|
programs.currentProgramPtr->name = "Default";
|
||||||
saveBank();
|
//saveBank();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ObxdAudioProcessor::newPreset(const String &name) {
|
void ObxdAudioProcessor::newPreset(const String &name) {
|
||||||
|
@ -535,7 +535,7 @@ void ObxdAudioProcessor::newPreset(const String &name) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//savePreset();
|
//savePreset();
|
||||||
saveBank();
|
//saveBank();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ObxdAudioProcessor::savePreset() {
|
void ObxdAudioProcessor::savePreset() {
|
||||||
|
|
Loading…
Reference in a new issue