fix buddy checkbox bug (#2434)

This commit is contained in:
Zach H 2017-03-04 00:48:16 -05:00 committed by GitHub
parent b8334d0cd5
commit 6619612c30
3 changed files with 4 additions and 2 deletions

View file

@ -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);