Fix environment variables always being discarded and custom commands always being overriden (#4718)

This commit is contained in:
Alexandru Ionut Tripon 2026-01-11 15:19:17 +02:00 committed by GitHub
commit 136ad59fad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 4 deletions

View file

@ -65,8 +65,6 @@ void CustomCommands::retranslate()
bool CustomCommands::checked() const
{
if (!ui->overrideCheckBox->isVisible())
return true;
return ui->overrideCheckBox->isChecked();
}

View file

@ -96,8 +96,6 @@ void EnvironmentVariables::retranslate()
bool EnvironmentVariables::override() const
{
if (!ui->overrideCheckBox->isVisible())
return false;
return ui->overrideCheckBox->isChecked();
}