Fix #27 (StartupViewController is created twice) again
This commit is contained in:
parent
56c62422cc
commit
37406acd98
|
@ -9,7 +9,7 @@ import tornadofx.App
|
||||||
|
|
||||||
class Main : App(StartupView::class) {
|
class Main : App(StartupView::class) {
|
||||||
|
|
||||||
val svc = StartupViewController()
|
private val svc: StartupViewController by inject()
|
||||||
|
|
||||||
override fun start(stage: Stage) {
|
override fun start(stage: Stage) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue