mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
GUI: Restore keyboard shortcuts for context menu entries
This partially reverts f385ad7651.
This commit is contained in:
parent
b0e5fbf6fa
commit
02b5263cd4
3 changed files with 11 additions and 11 deletions
|
|
@ -27,8 +27,8 @@ QRImageWidget::QRImageWidget(QWidget *parent):
|
|||
QLabel(parent), contextMenu(nullptr)
|
||||
{
|
||||
contextMenu = new QMenu(this);
|
||||
contextMenu->addAction(tr("Save Image…"), this, &QRImageWidget::saveImage);
|
||||
contextMenu->addAction(tr("Copy Image"), this, &QRImageWidget::copyImage);
|
||||
contextMenu->addAction(tr("&Save Image…"), this, &QRImageWidget::saveImage);
|
||||
contextMenu->addAction(tr("&Copy Image"), this, &QRImageWidget::copyImage);
|
||||
}
|
||||
|
||||
bool QRImageWidget::setQR(const QString& data, const QString& text)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue