diff options
author | Kevin Smith <git@kismith.co.uk> | 2011-01-24 12:42:34 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2011-01-24 12:42:34 (GMT) |
commit | fe89312ed0e8b6554f37c0bc2ac45095fcc74683 (patch) | |
tree | a9ef69800dcd3a7332b469205b9cefbcee681960 /Swift/QtUI | |
parent | e8a0d36e20dd283bb7b715f2f3d3fa99041be529 (diff) | |
download | swift-fe89312ed0e8b6554f37c0bc2ac45095fcc74683.zip swift-fe89312ed0e8b6554f37c0bc2ac45095fcc74683.tar.bz2 |
Don't assign Alt-A as a tab accelerator.
Resolves: #744
Diffstat (limited to 'Swift/QtUI')
-rw-r--r-- | Swift/QtUI/QtChatTabs.cpp | 2 |
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) { |