1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-24 06:04:04 +03:00

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) {