close notification only when needed
This commit is contained in:
@@ -175,7 +175,7 @@ namespace Pamac {
|
||||
|
||||
void close_notification () {
|
||||
try {
|
||||
if (notification != null) {
|
||||
if (notification != null && notification.get_closed_reason () == -1) {
|
||||
notification.close ();
|
||||
notification = null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user