diff --git a/src/widget/about/aboutfriendform.cpp b/src/widget/about/aboutfriendform.cpp index 4514d9ccb..323242caf 100644 --- a/src/widget/about/aboutfriendform.cpp +++ b/src/widget/about/aboutfriendform.cpp @@ -92,7 +92,7 @@ void AboutFriendForm::onAutoAcceptDirClicked() void AboutFriendForm::onAutoAcceptDirChanged(const QString& path) { - const bool enabled = path.isNull(); + const bool enabled = !path.isNull(); ui->autoacceptfile->setChecked(enabled); ui->selectSaveDir->setEnabled(enabled); ui->selectSaveDir->setText(enabled ? path : tr("Auto accept for this contact is disabled"));