added welcome tab (fixes #845)

This commit is contained in:
Eugene Pankov
2019-05-25 22:52:25 +02:00
parent 96f1342c84
commit 8e390eef05
7 changed files with 68 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ export class ButtonProvider extends ToolbarButtonProvider {
}
open (): void {
let settingsTab = this.app.tabs.find((tab) => tab instanceof SettingsTabComponent)
let settingsTab = this.app.tabs.find(tab => tab instanceof SettingsTabComponent)
if (settingsTab) {
this.app.selectTab(settingsTab)
} else {