Fix possible crash in custom notifications.

This commit is contained in:
John Preston 2019-09-27 18:53:44 +03:00
parent 09547bd6d5
commit 47b157bf32
1 changed files with 3 additions and 0 deletions

View File

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