Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix(ui): fix auto-accept directory setup display
Browse files Browse the repository at this point in the history
Fixes #5917
  • Loading branch information
kmantel authored and anthonybilinski committed Dec 2, 2019
1 parent 9b23abc commit 8c5cab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widget/about/aboutfriendform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down

0 comments on commit 8c5cab9

Please sign in to comment.