Move current search in channel function to Shift+CTRL+S
Add search in team Closes #270
This commit is contained in:
@@ -70,13 +70,21 @@ var createTemplate = function(mainWindow, config) {
|
||||
}, {
|
||||
role: 'selectall'
|
||||
}, separatorItem, {
|
||||
label: 'Search in Channel',
|
||||
accelerator: 'CmdOrCtrl+F',
|
||||
label: 'Search in Team',
|
||||
accelerator: 'CmdOrCtrl+S',
|
||||
click: (item, focusedWindow) => {
|
||||
if (focusedWindow) {
|
||||
focusedWindow.webContents.send('activate-search-box');
|
||||
}
|
||||
}
|
||||
}, {
|
||||
label: 'Search in Channel',
|
||||
accelerator: 'Shift+CmdOrCtrl+S',
|
||||
click: (item, focusedWindow) => {
|
||||
if (focusedWindow) {
|
||||
focusedWindow.webContents.send('activate-search-box-in-channel');
|
||||
}
|
||||
}
|
||||
}]
|
||||
});
|
||||
template.push({
|
||||
|
Reference in New Issue
Block a user