Fixed local flag not being set on image import

svn: r677
This commit is contained in:
Don Allingham
2002-01-03 18:09:32 +00:00
parent faca534de4
commit 22ec320188
7 changed files with 8 additions and 11 deletions

View File

@@ -114,6 +114,7 @@ class AddMediaObject:
if external.get_active() == 0:
path = self.db.getSavePath()
name = RelImage.import_media_object(filename,path,mobj.getId())
mobj.setLocal(1)
else:
name = filename
mobj.setPath(name)