mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-15 19:47:46 -07:00
small bugfix
This commit is contained in:
parent
33ccbe3c00
commit
50ae90c148
2 changed files with 3 additions and 3 deletions
|
|
@ -73,7 +73,7 @@ void Counter::setValue(int _value)
|
|||
void Counter::mousePressEvent(QGraphicsSceneMouseEvent *event)
|
||||
{
|
||||
if (event->button() == Qt::LeftButton) {
|
||||
player->client->incCounter(id, -1);
|
||||
player->client->incCounter(id, 1);
|
||||
event->accept();
|
||||
} else if (event->button() == Qt::RightButton) {
|
||||
menu->exec(event->screenPos());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue