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){
|
||||
programs.currentProgramPtr->name = name;
|
||||
//savePreset();
|
||||
saveBank();
|
||||
//saveBank();
|
||||
}
|
||||
|
||||
void ObxdAudioProcessor::deletePreset(){
|
||||
programs.currentProgramPtr->setDefaultValues();
|
||||
programs.currentProgramPtr->name = "Default";
|
||||
saveBank();
|
||||
//saveBank();
|
||||
}
|
||||
|
||||
void ObxdAudioProcessor::newPreset(const String &name) {
|
||||
|
@ -535,7 +535,7 @@ void ObxdAudioProcessor::newPreset(const String &name) {
|
|||
}
|
||||
}
|
||||
//savePreset();
|
||||
saveBank();
|
||||
//saveBank();
|
||||
}
|
||||
|
||||
void ObxdAudioProcessor::savePreset() {
|
||||
|
|
Loading…
Reference in a new issue