Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.editor
Commits
40679532
Commit
40679532
authored
Nov 27, 2019
by
Flavio TARSETTI
Browse files
[widgets][toolchaineditor] removed warning on unindentified channel color
parent
6775b90a
Changes
1
Hide whitespace changes
Inline
Side-by-side
beat/editor/widgets/toolchaineditor.py
View file @
40679532
...
...
@@ -404,17 +404,6 @@ class Connection(QGraphicsPathItem):
toolchain
.
web_representation
[
"channel_colors"
][
self
.
channel
]
=
"#000000"
channel_colors
=
toolchain
.
web_representation
[
"channel_colors"
]
warning
=
QMessageBox
()
warning
.
setIcon
(
QMessageBox
.
Warning
)
warning
.
setWindowTitle
(
toolchain
.
tr
(
"Channel color"
))
warning
.
setInformativeText
(
toolchain
.
tr
(
"No channel color found. Assigning default black color"
)
)
warning
.
setStandardButtons
(
QMessageBox
.
Ok
)
warning
.
exec_
()
hexadecimal
=
channel_colors
[
self
.
channel
].
lstrip
(
"#"
)
hlen
=
len
(
hexadecimal
)
self
.
connection_color
=
list
(
...
...
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