Fix possible crash in custom notifications.
This commit is contained in:
parent
bddf8b0c46
commit
e8ad836ad2
1 changed files with 3 additions and 0 deletions
|
|
@ -826,6 +826,9 @@ void Notification::toggleActionButtons(bool visible) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Notification::showReplyField() {
|
void Notification::showReplyField() {
|
||||||
|
if (!_item) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
activateWindow();
|
activateWindow();
|
||||||
|
|
||||||
if (_replyArea) {
|
if (_replyArea) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue