mirror of
https://github.com/KDE/konsole.git
synced 2026-05-04 04:33:38 -04:00
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.
This commit is contained in:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user