summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2011-01-24 12:42:34 (GMT)
committerKevin Smith <git@kismith.co.uk>2011-01-24 12:42:34 (GMT)
commitfe89312ed0e8b6554f37c0bc2ac45095fcc74683 (patch)
treea9ef69800dcd3a7332b469205b9cefbcee681960 /Swift/QtUI/QtChatTabs.cpp
parente8a0d36e20dd283bb7b715f2f3d3fa99041be529 (diff)
downloadswift-fe89312ed0e8b6554f37c0bc2ac45095fcc74683.zip
swift-fe89312ed0e8b6554f37c0bc2ac45095fcc74683.tar.bz2
Don't assign Alt-A as a tab accelerator.
Resolves: #744
Diffstat (limited to 'Swift/QtUI/QtChatTabs.cpp')
-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) {