Permalink
Browse files

Added shortcut to reload current service (Ctrl + Shift + R)

  • Loading branch information...
1 parent 83eb333 commit a1f66f222567a1df538c416236c0b068f39d3d92 @saenzramiro committed Sep 23, 2016
Showing with 12 additions and 0 deletions.
  1. +5 −0 app.js
  2. +7 −0 electron/menu.js
View
@@ -130,3 +130,8 @@ ipc.on('setBadge', function(event, messageCount) {
ipc.send('setBadge', messageCount, canvas.toDataURL());
});
+// Reload Current Service
+ipc.on('reloadCurrentService', function(e) {
+ var tab = Ext.cq1('app-main').getActiveTab();
+ if ( tab.id !== 'ramboxTab' ) tab.reloadService();
+});
View
@@ -122,6 +122,13 @@ let tpl = [
}
},
{
+ label: 'Reload current Service',
+ accelerator: 'CmdOrCtrl+Shift+R',
+ click() {
+ sendAction('reloadCurrentService');
+ }
+ },
+ {
type: 'separator'
},
{

0 comments on commit a1f66f2

Please sign in to comment.