Stop ErrorNotification’s time on close
Otherwise, if there is another notification before the timer runs out, it will close the new notification sooner than expected.
This commit is contained in:
parent
fe7a9a78c6
commit
45c12ed2bb
|
@ -67,6 +67,7 @@ Control {
|
||||||
text: qsTr("Close")
|
text: qsTr("Close")
|
||||||
|
|
||||||
onClicked: function () {
|
onClicked: function () {
|
||||||
|
hideTimer.stop();
|
||||||
control.visible = false;
|
control.visible = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue