only show MW if the core has loaded
This commit is contained in:
@@ -77,6 +77,8 @@ class Initialize extends AbstractLifecycleHandler {
|
||||
def showMW = {e ->
|
||||
def mainFrame = application.getWindowManager().findWindow("main-frame")
|
||||
if (mainFrame != null)
|
||||
Core core = application.getContext().findWindow("main-frame")
|
||||
if (core != null)
|
||||
mainFrame.setVisible(true)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user