From fe89312ed0e8b6554f37c0bc2ac45095fcc74683 Mon Sep 17 00:00:00 2001
From: Kevin Smith <git@kismith.co.uk>
Date: Mon, 24 Jan 2011 12:42:34 +0000
Subject: Don't assign Alt-A as a tab accelerator.

Resolves: #744

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) {
-- 
cgit v0.10.2-6-g49f6