- sessionfile sample fixed
- sessionpath saving restored
This commit is contained in:
parent
84e7303bb7
commit
d527a02e0a
2 changed files with 5 additions and 0 deletions
|
|
@ -166,6 +166,7 @@ ipc.on('browseSessions',function(event, data){
|
|||
var sessionlist = readConfig('recentSessions')
|
||||
dialog.showOpenDialog(window,{title:'Load session file',defaultPath:readConfig('sessionPath'),filters: [ { name: 'OSC Session file', extensions: ['js'] }]},function(file){
|
||||
if (file==undefined) {return}
|
||||
writeConfig({sessionPath:file[0].replace(file[0].split('/').pop(),'')})
|
||||
renderProcess.send('openSession',file[0])
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue