From fc03d6dfd887b294ec270563c634ee4831f083a9 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Tue, 19 Apr 2022 15:08:45 +0200 Subject: [PATCH] No longer inject close argument Fixes warning in the log --- resources/qml/Cura.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/qml/Cura.qml b/resources/qml/Cura.qml index bd9979335b..3b06af677d 100644 --- a/resources/qml/Cura.qml +++ b/resources/qml/Cura.qml @@ -571,7 +571,7 @@ UM.MainWindow id: contextMenu } - onPreClosing: + onPreClosing: (close) => { close.accepted = CuraApplication.getIsAllChecksPassed(); if (!close.accepted)