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

Re-enable call buttons if video call fails

This commit is contained in:
tux3 2015-10-24 22:55:18 +02:00
parent a776579732
commit f85aec6c95
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -469,6 +469,8 @@ void ChatForm::onVideoCallTriggered()
disableCallButtons(); disableCallButtons();
if (coreav->startCall(f->getFriendID(), true)) if (coreav->startCall(f->getFriendID(), true))
showOutgoingCall(false); showOutgoingCall(false);
else
enableCallButtons();
} }
void ChatForm::onCancelCallTriggered() void ChatForm::onCancelCallTriggered()