close notification only when needed
This commit is contained in:
parent
e1ead00c62
commit
669316872f
@ -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