Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
de93ddbe
Commit
de93ddbe
authored
Feb 20, 2022
by
HinGwenWoong
Browse files
Dialog shows label list
parent
cb6629da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
PPOCRLabel/PPOCRLabel.py
PPOCRLabel/PPOCRLabel.py
+1
-0
No files found.
PPOCRLabel/PPOCRLabel.py
View file @
de93ddbe
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment