Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
Spectacle
Commits
2434133b
Commit
2434133b
authored
Oct 23, 2021
by
Antonio Prcela
🏞
Committed by
Nate Graham
Nov 03, 2021
Browse files
Check if on click is set if launched with 'using last used capture mode'
parent
35778d8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/SpectacleCore.cpp
View file @
2434133b
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment