fix - reset the margin of the selected annotation on pin/save/copy/upload operations (#2170)

Co-authored-by: Yuriy Puchkov <yuriy.puchkov@namecheap.com>
This commit is contained in:
Yurii Puchkov
2021-12-20 21:26:24 +02:00
committed by GitHub
parent b65bc6cd8e
commit a9b56911f8
7 changed files with 17 additions and 3 deletions

View File

@@ -41,6 +41,7 @@ CaptureTool* SaveTool::copy(QObject* parent)
void SaveTool::pressed(CaptureContext& context)
{
emit requestAction(REQ_CLEAR_SELECTION);
context.request.addSaveTask();
emit requestAction(REQ_CAPTURE_DONE_OK);
emit requestAction(REQ_CLOSE_GUI);