Persist fix
Revert any applied settings by restoring the persisted configuration and re-applying it.
This commit is contained in:
@@ -618,6 +618,9 @@ const JackServerSettingsDialog = withStyles(
|
|||||||
|
|
||||||
const handleClose = () => {
|
const handleClose = () => {
|
||||||
if (this.originalJackServerSettings) {
|
if (this.originalJackServerSettings) {
|
||||||
|
// Revert any applied settings by restoring the
|
||||||
|
// persisted configuration and re-applying it.
|
||||||
|
this.model.applyJackServerSettings(this.originalJackServerSettings);
|
||||||
this.model.setJackServerSettings(this.originalJackServerSettings);
|
this.model.setJackServerSettings(this.originalJackServerSettings);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user