mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Fix 150a5b4d06
This commit is contained in:
parent
6fde08d9f7
commit
b492b69dfd
@ -735,7 +735,7 @@ void AccountSettings::slotDisableVfsCurrentFolder()
|
||||
msgBox->addButton(tr("Cancel"), QMessageBox::RejectRole);
|
||||
connect(msgBox, &QMessageBox::finished, msgBox, [this, msgBox, folder, acceptButton] {
|
||||
msgBox->deleteLater();
|
||||
if (msgBox->clickedButton() == acceptButton|| !folder)
|
||||
if (msgBox->clickedButton() != acceptButton|| !folder)
|
||||
return;
|
||||
|
||||
// It is unsafe to switch off vfs while a sync is running - wait if necessary.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user