Commit 2434133b authored by Antonio Prcela's avatar Antonio Prcela 🏞 Committed by Nate Graham
Browse files

Check if on click is set if launched with 'using last used capture mode'

parent 35778d8d
......@@ -126,6 +126,10 @@ void SpectacleCore::onActivateRequested(QStringList arguments, const QString & /
return;
} else if (Settings::onLaunchAction() == Settings::EnumOnLaunchAction::UseLastUsedCapturemode) {
lCaptureMode = Settings::captureMode();
if (Settings::onClickChecked()) {
lDelayMsec = -1;
takeNewScreenshot(lCaptureMode, lDelayMsec, Settings::includePointer(), Settings::includeDecorations());
}
}
auto lExportManager = ExportManager::instance();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment