fix: 改变粘贴顺序在最后

Description: 改变粘贴顺序在最后

Log: 改变粘贴顺序在最后
Change-Id: I836a5d521c9e8722e68d86ca4b0cffb8301b17f8
This commit is contained in:
liuminghang 2021-06-25 15:40:07 +08:00
parent 7a2b905bc6
commit a7e7c64fbd

View File

@ -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();