From a7e7c64fbddf8881e89830bae863a697a9b38045 Mon Sep 17 00:00:00 2001 From: liuminghang Date: Fri, 25 Jun 2021 15:40:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=94=B9=E5=8F=98=E7=B2=98=E8=B4=B4?= =?UTF-8?q?=E9=A1=BA=E5=BA=8F=E5=9C=A8=E6=9C=80=E5=90=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Description: 改变粘贴顺序在最后 Log: 改变粘贴顺序在最后 Change-Id: I836a5d521c9e8722e68d86ca4b0cffb8301b17f8 --- src/resulttextview.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/resulttextview.cpp b/src/resulttextview.cpp index ee2927c..ab25af9 100644 --- a/src/resulttextview.cpp +++ b/src/resulttextview.cpp @@ -15,15 +15,16 @@ ResultTextView::ResultTextView(QWidget *parent) m_actCopy->setText(tr("Copy")); m_actCut = new QAction(this); m_actCut->setText(tr("Cut")); - m_actPaste = new QAction(this); - m_actPaste->setText(tr("Paste")); + m_actSelectAll = new QAction(this); m_actSelectAll->setText(tr("SelectAll")); + m_actPaste = new QAction(this); + m_actPaste->setText(tr("Paste")); m_Menu->addAction(m_actSelectAll); m_Menu->addAction(m_actCopy); - m_Menu->addAction(m_actPaste); m_Menu->addAction(m_actCut); + m_Menu->addAction(m_actPaste); connect(m_actSelectAll, &QAction::triggered, this, [ = ]() { emit this->selectAll();