diff --git a/deploy/shitu_index_manager/mod/classify_ui_context.py b/deploy/shitu_index_manager/mod/classify_ui_context.py index e244532e2c6b9a4c47f879218faac33982bf566a..4141878856f6cacdf7261bfb4017f2e87e614c19 100644 --- a/deploy/shitu_index_manager/mod/classify_ui_context.py +++ b/deploy/shitu_index_manager/mod/classify_ui_context.py @@ -131,7 +131,7 @@ class ClassifyUiContext(QtCore.QObject): "分类下存在图片,请先移除图片") else: self.__imageListMgr.removeClassify(classify) - self.setClassifyList(self.__imageListMgr.classifyList()) + self.setClassifyList(self.__imageListMgr.classifyList) def renemeClassify(self): """重命名分类""" diff --git a/deploy/shitu_index_manager/mod/imageeditclassifydialog.py b/deploy/shitu_index_manager/mod/imageeditclassifydialog.py index ee8def38767a42871b621be2f8ce965a124ba409..250fe217a9473c1ceb5b62a0023160660c7bdeb2 100644 --- a/deploy/shitu_index_manager/mod/imageeditclassifydialog.py +++ b/deploy/shitu_index_manager/mod/imageeditclassifydialog.py @@ -9,7 +9,7 @@ class ImageEditClassifyDialog(QtWidgets.QDialog): """图像编辑分类对话框""" def __init__(self, parent, old_classify, classify_list): super(ImageEditClassifyDialog, self).__init__(parent) - self.ui = mod.ui_imageeditclassifydialog.Ui_Dialog() + self.ui = ui_imageeditclassifydialog.Ui_Dialog() self.ui.setupUi(self) # 初始化主窗口界面 self.__oldClassify = old_classify self.__classifyList = classify_list