mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix possible crash in custom notifications.
This commit is contained in:
parent
09547bd6d5
commit
47b157bf32
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