mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 22:09:04 +08:00
Do not store files that fail to load in recent files
Contributes to Ultimaker/Cura#103
This commit is contained in:
parent
8fa0468787
commit
3e27c8b791
@ -523,7 +523,7 @@ class CuraApplication(QtApplication):
|
||||
op.push()
|
||||
|
||||
def _onJobFinished(self, job):
|
||||
if type(job) is not ReadMeshJob:
|
||||
if type(job) is not ReadMeshJob or not job.getResult():
|
||||
return
|
||||
|
||||
f = QUrl.fromLocalFile(job.getFileName())
|
||||
|
Loading…
x
Reference in New Issue
Block a user