pull/24/head
Zlatin Balevsky 2019-10-23 06:46:20 +01:00
parent 06679ffee0
commit 439b3bf18b
1 changed files with 6 additions and 5 deletions

View File

@ -75,11 +75,12 @@ 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)
def mainFrame = application.getWindowManager().findWindow("main-frame")
if (mainFrame != null) {
Core core = application.getContext().get("core")
if (core != null)
mainFrame.setVisible(true)
}
}
def show = new MenuItem("Open MuWire")