From c3ad9b6c41740bc98bf42fb1810c3353e0ff9f6e Mon Sep 17 00:00:00 2001 From: Streppel Date: Thu, 4 Oct 2018 11:43:25 -0300 Subject: [PATCH] Fixes #362 (#363) This fixes #362, making the enter key copy the content of the GUI selection copy the content to the clipboard --- src/widgets/capture/capturewidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/widgets/capture/capturewidget.cpp b/src/widgets/capture/capturewidget.cpp index 1b1413e9..b988a2cb 100644 --- a/src/widgets/capture/capturewidget.cpp +++ b/src/widgets/capture/capturewidget.cpp @@ -741,6 +741,7 @@ void CaptureWidget::initShortcuts() { new QShortcut(Qt::Key_Space, this, SLOT(togglePanel())); new QShortcut(Qt::Key_Escape, this, SLOT(deleteToolwidgetOrClose())); new QShortcut(Qt::Key_Return, this, SLOT(copyScreenshot())); + new QShortcut(Qt::Key_Enter, this, SLOT(copyScreenshot())); } void CaptureWidget::updateSizeIndicator() {