Fix color copy

master
Jeremy Hu 2019-11-02 18:51:29 +09:30
parent 416ada241d
commit 9a587fc895
1 changed files with 1 additions and 1 deletions

View File

@ -368,7 +368,7 @@ void PartTreeWidget::showContextMenu(const QPoint &pos)
connect(&copyColorAction, &QAction::triggered, [=]() { connect(&copyColorAction, &QAction::triggered, [=]() {
QClipboard *clipboard = QApplication::clipboard(); QClipboard *clipboard = QApplication::clipboard();
clipboard->setText(part->color.name()); clipboard->setText(part->color.name(QColor::HexArgb));
}); });
contextMenu.addAction(&copyColorAction); contextMenu.addAction(&copyColorAction);