未验证 提交 a69062ab 编写于 作者: W Walter 提交者: GitHub

Merge pull request #2277 from RainFrost1/index_management

fix index_manager bug
......@@ -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):
"""重命名分类"""
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册