Fix possible crash in custom notifications.

This commit is contained in:
John Preston 2019-09-27 18:53:44 +03:00 committed by RadRussianRus
parent bddf8b0c46
commit e8ad836ad2

View file

@ -826,6 +826,9 @@ void Notification::toggleActionButtons(bool visible) {
}
void Notification::showReplyField() {
if (!_item) {
return;
}
activateWindow();
if (_replyArea) {