Merge pull request #295 from yuya-oc/disable-ctrl-shift-s

Disable search in current team `CTRL+SHIFT+S`
This commit is contained in:
Yuya Ochiai 2016-09-20 01:43:26 +09:00 committed by GitHub
commit f96811e2c4
3 changed files with 0 additions and 10 deletions

View file

@ -16,7 +16,6 @@ Release date: TBD
- Disabled `eval()` function for security improvements.
- Removed misleading shortcuts from tray menu, as they didn't work
- Ctrl/Command+S puts cursor in search box to search in current team.
- Shift+Ctrl/Command+S puts cursor in search box to search in current channel.
- Add access to settings through tray menu
- Removed unclear desktop notifications when failed to load tabs.
- Reload automatically the failed tab when the computer becomes online.

View file

@ -153,7 +153,6 @@ Below lists menu options (shortcut keys are listed in brackets, `Ctrl` becomes `
- **Paste** (Ctrl+V) - Pastes text from clipboard
- **Select All** (Ctrl+A) - Select all text in input box
- **Search in Team** (Ctrl+S) - Puts cursor in search box to search in the current team
- **Search in Channel** (Shift+Ctrl+S) - Puts cursor in search box to search in current channel
- **View**
- **Reload** (Ctrl+R) - Reload page from the server
- **Clear Cache and Reload** (Ctrl+Shift+R) - Clear cached content in application and reload page

View file

@ -77,14 +77,6 @@ var createTemplate = function(mainWindow, config) {
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({