From 935596d6036b700dbcea99f46746a75dfa39c140 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Tue, 1 Mar 2016 11:23:20 +0100 Subject: [PATCH] Add log entry when opening a file via Qt event This helps debugging CURA-730, and might also help debugging similar issues in the future. It's a user-triggered event so this warrants an info-level log entry. Contributes to issue CURA-730. --- cura/CuraApplication.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index 6e4527feec..2e6f2f59a1 100644 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -207,6 +207,7 @@ class CuraApplication(QtApplication): # Handle Qt events def event(self, event): if event.type() == QEvent.FileOpen: + Logger.log("i", "File open via Qt event: %s", event.file()) self._openFile(event.file()) return super().event(event)