No longer inject close argument

Fixes warning in the log
This commit is contained in:
Jaime van Kessel 2022-04-19 15:08:45 +02:00
parent 3bfd2679ab
commit fc03d6dfd8

View file

@ -571,7 +571,7 @@ UM.MainWindow
id: contextMenu
}
onPreClosing:
onPreClosing: (close) =>
{
close.accepted = CuraApplication.getIsAllChecksPassed();
if (!close.accepted)