forked from openlp/openlp
clean up
This commit is contained in:
parent
25373944b2
commit
78d7dacd4b
|
@ -96,10 +96,10 @@ class ImageMediaItem(MediaManagerItem):
|
||||||
imagefilename = ImageFilenames()
|
imagefilename = ImageFilenames()
|
||||||
imagefilename.group_id = 0
|
imagefilename.group_id = 0
|
||||||
imagefilename.filename = old_file
|
imagefilename.filename = old_file
|
||||||
success = self.manager.save_object(imagefilename)
|
self.manager.save_object(imagefilename)
|
||||||
# Load images from the database
|
# Load images from the database
|
||||||
self.loadFullList(self.manager.get_all_objects(ImageFilenames, order_by_ref=ImageFilenames.filename),
|
self.loadFullList(
|
||||||
initial_load=True)
|
self.manager.get_all_objects(ImageFilenames, order_by_ref=ImageFilenames.filename), initial_load=True)
|
||||||
|
|
||||||
def addListViewToToolBar(self):
|
def addListViewToToolBar(self):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue