mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 00:24:47 -07:00
fix buddy checkbox bug (#2434)
This commit is contained in:
parent
b8334d0cd5
commit
6619612c30
3 changed files with 4 additions and 2 deletions
|
|
@ -301,7 +301,7 @@ void UserContextMenu::showContextMenu(const QPoint &pos, const QString &userName
|
|||
bool anotherUser = userName != QString::fromStdString(tabSupervisor->getUserInfo()->name());
|
||||
aDetails->setEnabled(true);
|
||||
aChat->setEnabled(anotherUser && online);
|
||||
aShowGames->setEnabled(anotherUser);
|
||||
aShowGames->setEnabled(online);
|
||||
aAddToBuddyList->setEnabled(anotherUser);
|
||||
aRemoveFromBuddyList->setEnabled(anotherUser);
|
||||
aAddToIgnoreList->setEnabled(anotherUser);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue