mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 08:34:52 -07:00
fix macro shortcuts so that Ctrl+1 is not double-assigned (#5112)
This commit is contained in:
parent
03ec02a749
commit
b704216553
1 changed files with 1 additions and 1 deletions
|
|
@ -1037,7 +1037,7 @@ void Player::initSayMenu()
|
|||
|
||||
for (int i = 0; i < count; ++i) {
|
||||
auto *newAction = new QAction(SettingsCache::instance().messages().getMessageAt(i), this);
|
||||
if (i <= 10) {
|
||||
if (i < 10) {
|
||||
newAction->setShortcut(QKeySequence("Ctrl+" + QString::number((i + 1) % 10)));
|
||||
}
|
||||
connect(newAction, SIGNAL(triggered()), this, SLOT(actSayMessage()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue