From 9a587fc8951d3ffdb31809405dea134c58c5a1b1 Mon Sep 17 00:00:00 2001 From: Jeremy Hu Date: Sat, 2 Nov 2019 18:51:29 +0930 Subject: [PATCH] Fix color copy --- src/parttreewidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);