mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
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.
This commit is contained in:
parent
b9786e5208
commit
935596d603
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue