Skip to content

Commit

Permalink
Added left button click to taskbar-icon to show main window
Browse files Browse the repository at this point in the history
Possibly fixes issue RocketChat#298
  • Loading branch information
soneyworld committed Jan 17, 2017
1 parent aeeba66 commit 8823eaf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/scripts/tray.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ function createAppTray () {
_tray.popUpContextMenu(undefined, b);
});

_tray.on('click', () => {
_mainWindow.show();
});

mainWindow.tray = _tray;
}

Expand Down

0 comments on commit 8823eaf

Please sign in to comment.