Merge branch 'master' of github.com:jean-emmanuel/open-stage-control

This commit is contained in:
bordun 2020-05-05 12:06:01 +02:00
commit 28fb5c03d3

View file

@ -176,7 +176,8 @@ var SessionManager = class SessionManager {
if (editor.unsavedSession && !confirm(locales('session_unsaved'))) return
this.load(null, function(){
this.load(null, ()=>{
ipc.send('sessionSetPath', {path: ''})
editor.enable()
editor.select(widgetManager.getWidgetById('root'))
})