From de93ddbe6c2409c56d5c79dff04b690eda7488f1 Mon Sep 17 00:00:00 2001 From: HinGwenWoong Date: Sun, 20 Feb 2022 14:02:42 +0800 Subject: [PATCH] Dialog shows label list --- PPOCRLabel/PPOCRLabel.py | 1 + 1 file changed, 1 insertion(+) diff --git a/PPOCRLabel/PPOCRLabel.py b/PPOCRLabel/PPOCRLabel.py index 03653a99..dff543f5 100644 --- a/PPOCRLabel/PPOCRLabel.py +++ b/PPOCRLabel/PPOCRLabel.py @@ -1230,6 +1230,7 @@ class MainWindow(QMainWindow): self.keyList.addItem(item) rgb = self._get_rgb_by_label(key_text, self.kie_mode) self.keyList.setItemLabel(item, key_text, rgb) + self.keyDialog.addLabelHistory(key_text) def _update_shape_color(self, shape): r, g, b = self._get_rgb_by_label(shape.label) -- GitLab