mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-29 20:28:57 +03:00
Fix 150a5b4d06600d140ddf05383fb74cda6ae6e941
This commit is contained in:
parent
6fde08d9f7
commit
b492b69dfd
1 changed files with 1 additions and 1 deletions
|
@ -735,7 +735,7 @@ void AccountSettings::slotDisableVfsCurrentFolder()
|
||||||
msgBox->addButton(tr("Cancel"), QMessageBox::RejectRole);
|
msgBox->addButton(tr("Cancel"), QMessageBox::RejectRole);
|
||||||
connect(msgBox, &QMessageBox::finished, msgBox, [this, msgBox, folder, acceptButton] {
|
connect(msgBox, &QMessageBox::finished, msgBox, [this, msgBox, folder, acceptButton] {
|
||||||
msgBox->deleteLater();
|
msgBox->deleteLater();
|
||||||
if (msgBox->clickedButton() == acceptButton|| !folder)
|
if (msgBox->clickedButton() != acceptButton|| !folder)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// It is unsafe to switch off vfs while a sync is running - wait if necessary.
|
// It is unsafe to switch off vfs while a sync is running - wait if necessary.
|
||||||
|
|
Loading…
Reference in a new issue