Commit 40679532 authored by Flavio TARSETTI's avatar Flavio TARSETTI

[widgets][toolchaineditor] removed warning on unindentified channel color

parent 6775b90a
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment