summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Swift/QtUI/QtChatTabs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/QtChatTabs.cpp b/Swift/QtUI/QtChatTabs.cpp
index b894e9e..134a3cc 100644
--- a/Swift/QtUI/QtChatTabs.cpp
+++ b/Swift/QtUI/QtChatTabs.cpp
@@ -190,7 +190,7 @@ void QtChatTabs::handleTabTitleUpdated(QWidget* widget) {
bool accelsTaken[26];
int i = 0;
while (i < 26) {
- accelsTaken[i++] = false;
+ accelsTaken[i++] = (i == 0); //A is used for 'switch to active tab'
}
int other = tabs_->tabBar()->count();
while (other >= 0) {