1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix: audiocall button disabled in groupchats

change the condition for when the audiocall button is enabled

affects #2989
This commit is contained in:
sudden6 2016-03-30 17:05:42 +02:00
parent 28cecadbc4
commit db4f02a0c4
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -217,7 +217,7 @@ void GroupChatForm::onUserListChanged()
} }
// Enable or disable call button // Enable or disable call button
if (peersCount != 1 && !callButton->isEnabled()) if (peersCount > 1 && group->isAvGroupchat())
{ {
callButton->setEnabled(true); callButton->setEnabled(true);
callButton->setObjectName("green"); callButton->setObjectName("green");