mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 22:23:57 -06: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue