mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-22 20:35:48 +03:00
Anther fix for sync pausing
This commit is contained in:
parent
cb6d056a1f
commit
06a1cfe642
1 changed files with 4 additions and 1 deletions
|
@ -766,7 +766,10 @@ void Application::slotEnableFolder(const QString& alias, const bool enable)
|
|||
int reply = QMessageBox::question( 0, tr("Sync Running"),
|
||||
tr("The syncing operation is running.<br/>Do you want to terminate it?"),
|
||||
QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes );
|
||||
terminate = ( reply == QMessageBox::Yes );
|
||||
if ( reply == QMessageBox::Yes )
|
||||
terminate = true;
|
||||
else
|
||||
return; // do nothing
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue