Merge branch 'master' into dev_0.6
This commit is contained in:
@@ -73,6 +73,8 @@ class NWDoc():
|
||||
"""Open a document from handle, capturing potential file system
|
||||
errors and parse meta data.
|
||||
"""
|
||||
# Always clear first, since the object will often be reused.
|
||||
self.clearDocument()
|
||||
|
||||
self.docHandle = tHandle
|
||||
if not isOrphan:
|
||||
|
||||
@@ -975,7 +975,6 @@ class NWProject():
|
||||
oName = ""
|
||||
if aDoc.openDocument(oHandle, showStatus=False, isOrphan=True):
|
||||
oName, oPath = aDoc.getMeta()
|
||||
aDoc.clearDocument()
|
||||
|
||||
if oName == "":
|
||||
nOrph += 1
|
||||
|
||||
Reference in New Issue
Block a user