This commit is contained in:
Andreas Preikschat 2013-02-26 16:39:39 +01:00
parent 25373944b2
commit 78d7dacd4b
1 changed files with 3 additions and 3 deletions

View File

@ -96,10 +96,10 @@ class ImageMediaItem(MediaManagerItem):
imagefilename = ImageFilenames()
imagefilename.group_id = 0
imagefilename.filename = old_file
success = self.manager.save_object(imagefilename)
self.manager.save_object(imagefilename)
# Load images from the database
self.loadFullList(self.manager.get_all_objects(ImageFilenames, order_by_ref=ImageFilenames.filename),
initial_load=True)
self.loadFullList(
self.manager.get_all_objects(ImageFilenames, order_by_ref=ImageFilenames.filename), initial_load=True)
def addListViewToToolBar(self):
"""