mirror of
https://github.com/corda/corda.git
synced 2025-01-14 16:59:52 +00:00
CORPRIV-665: Protect harder against NPE
This commit is contained in:
parent
6fd9399b20
commit
ccfbfde830
@ -15,6 +15,6 @@ class CloseableTab(text: String, content: Node) : Tab(text, content) {
|
||||
}
|
||||
|
||||
private val behaviour: TabPaneBehavior?
|
||||
get() = (tabPane.skin as TabPaneSkin?)?.behavior
|
||||
get() = (tabPane?.skin as TabPaneSkin?)?.behavior
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user