提交 de93ddbe 编写于 作者: HinGwenWoong's avatar HinGwenWoong

Dialog shows label list

上级 cb6629da
...@@ -1230,6 +1230,7 @@ class MainWindow(QMainWindow): ...@@ -1230,6 +1230,7 @@ class MainWindow(QMainWindow):
self.keyList.addItem(item) self.keyList.addItem(item)
rgb = self._get_rgb_by_label(key_text, self.kie_mode) rgb = self._get_rgb_by_label(key_text, self.kie_mode)
self.keyList.setItemLabel(item, key_text, rgb) self.keyList.setItemLabel(item, key_text, rgb)
self.keyDialog.addLabelHistory(key_text)
def _update_shape_color(self, shape): def _update_shape_color(self, shape):
r, g, b = self._get_rgb_by_label(shape.label) r, g, b = self._get_rgb_by_label(shape.label)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册