forked from cromer/pamac-classic
close notification only when needed
This commit is contained in:
parent
0d88b1e660
commit
949d640eb8
@ -175,7 +175,7 @@ namespace Pamac {
|
|||||||
|
|
||||||
void close_notification () {
|
void close_notification () {
|
||||||
try {
|
try {
|
||||||
if (notification != null) {
|
if (notification != null && notification.get_closed_reason () == -1) {
|
||||||
notification.close ();
|
notification.close ();
|
||||||
notification = null;
|
notification = null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user