Moved to one place and simplified hotkeys of switching tabs.

This commit is contained in:
23rd
2019-08-04 16:51:17 +03:00
parent c578cd47e1
commit 485715ef30
3 changed files with 5 additions and 34 deletions
+5
View File
@@ -289,6 +289,11 @@ void Window::addShortcuts()
createWindowShortcut(this, "CTRL+9",
[this] { this->notebook_->selectIndex(8); });
createWindowShortcut(this, "CTRL+TAB",
[this] { this->notebook_->selectNextTab(); });
createWindowShortcut(this, "CTRL+SHIFT+TAB",
[this] { this->notebook_->selectPreviousTab(); });
// Zoom in
{
auto s = new QShortcut(QKeySequence::ZoomIn, this);