profile settings tab

This commit is contained in:
Eugene Pankov
2018-12-16 17:09:35 +01:00
parent 1f1d212c1d
commit 72287cc7cb
11 changed files with 120 additions and 17 deletions

View File

@@ -111,6 +111,13 @@ export class TabHeaderComponent {
}
])
if ((this.tab as any).saveAsProfile) {
contextMenu.append(new this.electron.MenuItem({
label: 'Save as a profile',
click: () => this.zone.run(() => (this.tab as any).saveAsProfile())
}))
}
let process = await this.tab.getCurrentProcess()
if (process) {
contextMenu.append(new this.electron.MenuItem({