ksnapshot: add delay functionality to 'Region' mode. This resolves issue #71.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/72/head
Michele Calgaro 1 year ago
parent 6f41322a4f
commit b2f97450ef
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -282,7 +282,7 @@ void KSnapshot::slotGrab()
oldWinPos = pos();
hide();
if ( mainWidget->delay() && mainWidget->mode() != Region )
if ( mainWidget->delay() )
grabTimer.start( mainWidget->delay() * 1000, true );
else {
if ( mainWidget->mode() == Region ) {

@ -27,8 +27,6 @@ void KSnapshotWidget::slotModeChanged( int mode )
default:
break;
}
spinDelay->setEnabled(mode != 2);
}

Loading…
Cancel
Save