Commit 314710b3 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Uncheck "on click" checkbox if "on click" capture mode is disabled

Prior to 4a3cb514, if the on click
capture mode is disabled, the corresponding checkbox will be unchecked.

It's very important to uncheck the on click checkbox because otherwise
spectacle will use incorrect delay value.

This fixes a bug where spectacle is visible while taking a screenshot of
a rectangular area.
parent 0bf1acaa
......@@ -220,6 +220,7 @@ void KSWidget::lockOnClickEnabled()
void KSWidget::lockOnClickDisabled()
{
mCaptureOnClick->setCheckState(Qt::Unchecked);
mCaptureOnClick->hide();
mDelayMsec->setEnabled(true);
}
......
Markdown is supported
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