From 205a9f512f4423f2be61678f485571b32c41544e Mon Sep 17 00:00:00 2001 From: Jeremy Hu Date: Sat, 10 Nov 2018 08:21:07 +0800 Subject: [PATCH] Fix paste shortcut for pose editor --- src/poseeditwidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/poseeditwidget.cpp b/src/poseeditwidget.cpp index fc3afee2..0e2cdb9f 100644 --- a/src/poseeditwidget.cpp +++ b/src/poseeditwidget.cpp @@ -70,6 +70,7 @@ PoseEditWidget::PoseEditWidget(const Document *document, QWidget *parent) : connect(graphicsWidget, &SkeletonGraphicsWidget::groupOperationAdded, m_poseDocument, &PoseDocument::saveHistoryItem); connect(graphicsWidget, &SkeletonGraphicsWidget::undo, m_poseDocument, &PoseDocument::undo); connect(graphicsWidget, &SkeletonGraphicsWidget::redo, m_poseDocument, &PoseDocument::redo); + connect(graphicsWidget, &SkeletonGraphicsWidget::paste, m_poseDocument, &PoseDocument::paste); connect(graphicsWidget, &SkeletonGraphicsWidget::switchChainSide, m_poseDocument, &PoseDocument::switchChainSide); connect(m_poseDocument, &PoseDocument::cleanup, graphicsWidget, &SkeletonGraphicsWidget::removeAllContent);