mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-15 08:59:58 +00:00
fixed improper split tab saving (fixes #2025)
This commit is contained in:
parent
b97149aa73
commit
286b6cfdde
@ -130,6 +130,11 @@ export class AppService {
|
|||||||
this.tabsChanged.next()
|
this.tabsChanged.next()
|
||||||
this.tabClosed.next(tab)
|
this.tabClosed.next(tab)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if (tab instanceof SplitTabComponent) {
|
||||||
|
tab.tabAdded$.subscribe(() => this.emitTabsChanged())
|
||||||
|
tab.tabRemoved$.subscribe(() => this.emitTabsChanged())
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user