mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge pull request #5941
Katherine Mantel (1): fix(ui): fix auto-accept directory setup display
This commit is contained in:
commit
8a821c8858
|
@ -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"));
|
||||
|
|
Loading…
Reference in New Issue
Block a user