Adding persist - T2
Adding model persist so that the apply can be used for testing. Previous did not persist as intented.
This commit is contained in:
@@ -544,7 +544,7 @@ const JackServerSettingsDialog = withStyles(
|
||||
// Apply immediately so the status display can confirm
|
||||
// whether the selected devices are working.
|
||||
s.valid = true;
|
||||
this.model.setJackServerSettings(s);
|
||||
this.model.applyJackServerSettings(s);
|
||||
this.startStatusTimer();
|
||||
}
|
||||
};
|
||||
|
||||
@@ -2530,6 +2530,12 @@ export class PiPedalModel //implements PiPedalModel
|
||||
this.showAlert(error);
|
||||
});
|
||||
}
|
||||
applyJackServerSettings(jackServerSettings: JackServerSettings): void {
|
||||
this.webSocket?.request<void>("applyJackServerSettings", jackServerSettings)
|
||||
.catch((error) => {
|
||||
this.showAlert(error);
|
||||
});
|
||||
}
|
||||
|
||||
updateVst3State(pedalboard: Pedalboard) {
|
||||
// let it = pedalboard.itemsGenerator();
|
||||
|
||||
Reference in New Issue
Block a user