diff --git a/src/parttreewidget.cpp b/src/parttreewidget.cpp index 739c7e6c..aa6a7227 100644 --- a/src/parttreewidget.cpp +++ b/src/parttreewidget.cpp @@ -368,7 +368,7 @@ void PartTreeWidget::showContextMenu(const QPoint &pos) connect(©ColorAction, &QAction::triggered, [=]() { QClipboard *clipboard = QApplication::clipboard(); - clipboard->setText(part->color.name()); + clipboard->setText(part->color.name(QColor::HexArgb)); }); contextMenu.addAction(©ColorAction);