fixed profile duplication

This commit is contained in:
Eugene Pankov 2018-12-24 11:32:04 +01:00
parent 88bb40f94b
commit 0bd0c850da

View File

@ -45,10 +45,8 @@ export class ShellSettingsTabComponent {
name: shell.name,
sessionOptions: this.terminalService.optionsFromShell(shell),
}
this.profiles.push(profile)
this.config.store.terminal.profiles.push(profile)
this.config.save()
this.editProfile(profile)
}
editProfile (profile: Profile) {