From 2d5df9cc09132baf4990818fa72d965fa387402c Mon Sep 17 00:00:00 2001 From: Kurt Hindenburg Date: Wed, 27 Mar 2013 09:33:27 -0400 Subject: [PATCH] Allow shortcuts up to 19 tabs The current was 10; Ingo Molnar suggested 14 via email. I have a keyboard with 19 so that seems a reasonable limit. --- src/ViewManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ViewManager.cpp b/src/ViewManager.cpp index 8a902d074..f700d5b3a 100644 --- a/src/ViewManager.cpp +++ b/src/ViewManager.cpp @@ -212,7 +212,7 @@ void ViewManager::setupActions() collection->addAction("move-view-right", moveViewRightAction); // Switch to tab N shortcuts - const int SWITCH_TO_TAB_COUNT = 10; + const int SWITCH_TO_TAB_COUNT = 19; QSignalMapper* switchToTabMapper = new QSignalMapper(this); connect(switchToTabMapper, SIGNAL(mapped(int)), this, SLOT(switchToView(int))); for (int i = 0; i < SWITCH_TO_TAB_COUNT; i++) {