Fix #74590
This commit is contained in:
parent
acdefbb846
commit
d42fe4c1cc
1 changed files with 4 additions and 2 deletions
|
@ -248,10 +248,12 @@ export class SettingsEditor2 extends BaseEditor {
|
|||
}
|
||||
}
|
||||
|
||||
setOptions(options: SettingsEditorOptions): void {
|
||||
setOptions(options: SettingsEditorOptions | null): void {
|
||||
super.setOptions(options);
|
||||
|
||||
this._setOptions(options);
|
||||
if (options) {
|
||||
this._setOptions(options);
|
||||
}
|
||||
}
|
||||
|
||||
private _setOptions(options: SettingsEditorOptions): void {
|
||||
|
|
Loading…
Reference in a new issue