session: use basename in window title
This commit is contained in:
parent
758b6e84c4
commit
4e6a7b36ba
3 changed files with 10 additions and 6 deletions
|
|
@ -74,6 +74,8 @@ module.exports = {
|
|||
|
||||
ipc.clients[clientId].sessionPath = data.path
|
||||
|
||||
ipc.send('setTitle', path.basename(data.path), clientId)
|
||||
|
||||
},
|
||||
|
||||
sessionOpen: function(data,clientId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue