def update_selected_image(self, context):
    sel_texture = bpy.data.images[self.texture_index]
    show_image_in_image_editor(sel_texture)
def update_selected_image(self, context):
    sel_texture = bpy.data.images[self.texture_index]
    show_image_in_image_editor(sel_texture)