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
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();
}