mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
added ctrl+t again
This commit is contained in:
parent
aefdb60ada
commit
4cb666b75a
1 changed files with 5 additions and 1 deletions
|
@ -66,9 +66,13 @@ Window::Window(WindowType _type)
|
|||
layout->setMargin(0);
|
||||
|
||||
/// Initialize program-wide hotkeys
|
||||
// CTRL+P: Open Settings Dialog
|
||||
// CTRL+P: Open settings dialog
|
||||
CreateWindowShortcut(this, "CTRL+P", [] { SettingsDialog::showDialog(); });
|
||||
|
||||
// CTRL+T: Create new split
|
||||
CreateWindowShortcut(this, "CTRL+T",
|
||||
[this] { this->notebook.getOrAddSelectedPage()->appendNewSplit(true); });
|
||||
|
||||
// CTRL+Number: Switch to n'th tab
|
||||
CreateWindowShortcut(this, "CTRL+1", [this] { this->notebook.selectIndex(0); });
|
||||
CreateWindowShortcut(this, "CTRL+2", [this] { this->notebook.selectIndex(1); });
|
||||
|
|
Loading…
Reference in a new issue