The "copy to clipboard" button keeps the margin of the selected annotation #1879 (#1881)

Co-authored-by: Yuriy Puchkov <yuriy.puchkov@namecheap.com>
This commit is contained in:
Yurii Puchkov
2021-09-11 20:55:13 +03:00
committed by GitHub
parent accfeee022
commit 23cf19308b

View File

@@ -41,6 +41,7 @@ CaptureTool* CopyTool::copy(QObject* parent)
void CopyTool::pressed(const CaptureContext& context)
{
emit requestAction(REQ_CLEAR_SELECTION);
emit requestAction(REQ_CAPTURE_DONE_OK);
ScreenshotSaver().saveToClipboard(context.selectedScreenshotArea());
}