Fix color copy
parent
416ada241d
commit
9a587fc895
|
@ -368,7 +368,7 @@ void PartTreeWidget::showContextMenu(const QPoint &pos)
|
||||||
|
|
||||||
connect(©ColorAction, &QAction::triggered, [=]() {
|
connect(©ColorAction, &QAction::triggered, [=]() {
|
||||||
QClipboard *clipboard = QApplication::clipboard();
|
QClipboard *clipboard = QApplication::clipboard();
|
||||||
clipboard->setText(part->color.name());
|
clipboard->setText(part->color.name(QColor::HexArgb));
|
||||||
});
|
});
|
||||||
contextMenu.addAction(©ColorAction);
|
contextMenu.addAction(©ColorAction);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue