fixes
This commit is contained in:
@@ -75,11 +75,12 @@ class Initialize extends AbstractLifecycleHandler {
|
|||||||
})
|
})
|
||||||
|
|
||||||
def showMW = {e ->
|
def showMW = {e ->
|
||||||
def mainFrame = application.getWindowManager().findWindow("main-frame")
|
def mainFrame = application.getWindowManager().findWindow("main-frame")
|
||||||
if (mainFrame != null)
|
if (mainFrame != null) {
|
||||||
Core core = application.getContext().findWindow("main-frame")
|
Core core = application.getContext().get("core")
|
||||||
if (core != null)
|
if (core != null)
|
||||||
mainFrame.setVisible(true)
|
mainFrame.setVisible(true)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
def show = new MenuItem("Open MuWire")
|
def show = new MenuItem("Open MuWire")
|
||||||
|
Reference in New Issue
Block a user