Fix wrong comparison

This commit is contained in:
Matheus Fernandes 2017-02-15 18:03:39 -03:00
parent 270fe5bef9
commit d44deb32c8
No known key found for this signature in database
GPG key ID: DD07CA4EA7B65C4F

View file

@ -177,7 +177,8 @@ app.on('ready', () => installDevExtensions(isDev).then(() => {
win.webContents.send('config change');
// notify user that shell changes require new sessions
if (cfg_.shell !== cfg.shell || cfg_.shellArgs !== cfg.shellArgs) {
if (cfg_.shell !== cfg.shell ||
JSON.stringify(cfg_.shellArgs) !== JSON.stringify(cfg.shellArgs)) {
notify(
'Shell configuration changed!',
'Open a new tab or window to start using the new shell'