state: set statePath when opening a state file from the server (#590)

This commit is contained in:
bordun 2020-01-30 13:31:12 +01:00
parent 3ba0719013
commit 2d1ddd3353
4 changed files with 13 additions and 3 deletions

View file

@ -212,7 +212,7 @@ module.exports = {
module.exports.fileRead(data, clientId, true, (result)=>{
ipc.send('stateLoad', {state: result, send: true}, clientId)
ipc.send('stateLoad', {state: result, path: data.path, send: true}, clientId)
})