def launch_edit_dialog():
dialog = EditDialog()
dialog_result = dialog.exec_()
if dialog_result == QtWidgets.QDialog.Accepted:
model.RestActionsM.update_title(
mc_global.active_rest_action_id_it,
dialog.rest_action_title_qle.text()
)
model.RestActionsM.update_rest_action_image_path(
mc_global.active_rest_action_id_it,
dialog.temporary_image_file_path_str
)
else:
pass
return dialog_result
rest_action_list_wt.py 文件源码
python
阅读 23
收藏 0
点赞 0
评论 0
评论列表
文章目录