diff --git a/src/utils/screenshotsaver.cpp b/src/utils/screenshotsaver.cpp index 514874fc..b1242f53 100644 --- a/src/utils/screenshotsaver.cpp +++ b/src/utils/screenshotsaver.cpp @@ -29,14 +29,16 @@ ScreenshotSaver::ScreenshotSaver() { } void ScreenshotSaver::saveToClipboard(const QPixmap &capture) { - SystemNotification().sendMessage( - QObject::tr("Capture saved to clipboard")); - QApplication::clipboard()->setPixmap(capture); if (ConfigHandler().saveAfterCopyValue()) { if (!ConfigHandler().saveAfterCopyPathValue().isEmpty()) { saveToFilesystem(capture, ConfigHandler().saveAfterCopyPathValue()); } + } else { + SystemNotification().sendMessage( + QObject::tr("Capture saved to clipboard")); } + + QApplication::clipboard()->setPixmap(capture); } bool ScreenshotSaver::saveToFilesystem(const QPixmap &capture,