AccountSettings: don't disable pause when offline (#4010)
authorOlivier Goffart <ogoffart@woboq.com>
Tue, 27 Oct 2015 09:31:54 +0000 (10:31 +0100)
committerOlivier Goffart <ogoffart@woboq.com>
Tue, 27 Oct 2015 09:32:33 +0000 (10:32 +0100)
src/gui/accountsettings.cpp

index 86d25467b3a0fd3f835dd5edacc1a8e07c3eb4f2..6e4259870dc19e64fda7343bb4564f1b5659ae88 100644 (file)
@@ -161,7 +161,6 @@ void AccountSettings::slotCustomContextMenuRequested(const QPoint &pos)
     connect(ac, SIGNAL(triggered(bool)), this, SLOT(doExpand()));
 
     ac = menu->addAction(folderPaused ? tr("Resume sync") : tr("Pause sync"));
-    ac->setEnabled(folderConnected);
     connect(ac, SIGNAL(triggered(bool)), this, SLOT(slotEnableCurrentFolder()));
 
     ac = menu->addAction(tr("Remove sync"));