FIxed double firing of chat controller
This commit is contained in:
parent
748693a3a4
commit
77c5ffbb15
@ -95,7 +95,8 @@ class ApplicationController extends DefaultWindowController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def showChatPane(): Unit = onFX {
|
def showChatPane(): Unit = onFX {
|
||||||
replaceSceneContent(mainViewController, true)
|
replaceSceneContent(mainViewController)
|
||||||
|
mainViewController.showChatController()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,8 +46,12 @@ class MainViewController extends ViewController with LazyLogging {
|
|||||||
// ContentManager(navigationPane, this, navigationController)
|
// ContentManager(navigationPane, this, navigationController)
|
||||||
// statusBarManager = ContentManager(statusPane, this, statusBarController)
|
// statusBarManager = ContentManager(statusPane, this, statusBarController)
|
||||||
// workspaceManager = ContentManager(workspacePane, this, workspaceController)
|
// workspaceManager = ContentManager(workspacePane, this, workspaceController)
|
||||||
mainManager = ContentManager(mainPane, this, chatController)
|
mainManager = ContentManager(mainPane, this)
|
||||||
chatController.chatMainPane.hgrow = Priority.ALWAYS
|
chatController.chatMainPane.hgrow = Priority.ALWAYS
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def showChatController(): Unit = {
|
||||||
|
mainManager.updatePaneContent(chatController)
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user