Skip to content

Commit

Permalink
Limit use last region to gui capture only
Browse files Browse the repository at this point in the history
  • Loading branch information
Kit-p authored Oct 5, 2023
1 parent 486a0e1 commit 4ed456e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/capturerequest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ CaptureRequest::CaptureRequest(CaptureRequest::CaptureMode mode,
{

ConfigHandler config;
if (m_mode != CaptureRequest::CaptureMode::FULLSCREEN_MODE &&
if (m_mode == CaptureRequest::CaptureMode::GRAPHICAL_MODE &&
config.saveLastRegion()) {
setInitialSelection(getLastRegion());
}
Expand Down

0 comments on commit 4ed456e

Please sign in to comment.