Fix Media editor when using double click the preview of added media (#752)
Fixes #10923
This commit is contained in:
parent
30628cf6c7
commit
c7f2b19784
@ -245,6 +245,7 @@ class EditMedia(EditPrimary):
|
||||
self.view_media(obj)
|
||||
|
||||
def view_media(self, obj):
|
||||
if self.obj.handle:
|
||||
ref_obj = self.dbstate.db.get_media_from_handle(self.obj.handle)
|
||||
|
||||
if ref_obj:
|
||||
|
Loading…
Reference in New Issue
Block a user