mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 17:37:36 +03:00
Make the Pause button stop the sync
This commit is contained in:
parent
c2cc9e62a7
commit
e89bdfc422
1 changed files with 1 additions and 1 deletions
|
@ -351,7 +351,7 @@ void AccountSettings::slotEnableCurrentFolder()
|
|||
|
||||
// this sets the folder status to disabled but does not interrupt it.
|
||||
Folder *f = folderMan->folder( alias );
|
||||
if( f && !folderEnabled ) {
|
||||
if( f && folderEnabled ) {
|
||||
// check if a sync is still running and if so, ask if we should terminate.
|
||||
if( f->isBusy() ) { // its still running
|
||||
int reply = QMessageBox::question( 0, tr("Sync Running"),
|
||||
|
|
Loading…
Reference in a new issue