Fix profile creation not working on settings v1 (#968)

This commit is contained in:
toasted-nutbread 2020-10-28 20:47:20 -04:00 committed by GitHub
parent 890de095db
commit cb76848df9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,7 +166,9 @@ class ProfileController {
// Update state // Update state
const index = this._profiles.length; const index = this._profiles.length;
this._profiles.push(newProfile); this._profiles.push(newProfile);
if (this._profileEntriesSupported) {
this._addProfileEntry(index); this._addProfileEntry(index);
}
this._updateProfileSelectOptions(); this._updateProfileSelectOptions();
// Modify settings // Modify settings