Make the Pause button stop the sync

This commit is contained in:
Olivier Goffart 2013-08-14 13:57:31 +02:00
parent c2cc9e62a7
commit e89bdfc422

View file

@ -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"),