mirror of
https://github.com/corda/corda.git
synced 2025-01-15 09:20:22 +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?
|
private val behaviour: TabPaneBehavior?
|
||||||
get() = (tabPane.skin as TabPaneSkin?)?.behavior
|
get() = (tabPane?.skin as TabPaneSkin?)?.behavior
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user