Fix environment variables always being discarded and custom commands always being overriden (#4718)
This commit is contained in:
@@ -65,8 +65,6 @@ void CustomCommands::retranslate()
|
||||
|
||||
bool CustomCommands::checked() const
|
||||
{
|
||||
if (!ui->overrideCheckBox->isVisible())
|
||||
return true;
|
||||
return ui->overrideCheckBox->isChecked();
|
||||
}
|
||||
|
||||
|
||||
@@ -96,8 +96,6 @@ void EnvironmentVariables::retranslate()
|
||||
|
||||
bool EnvironmentVariables::override() const
|
||||
{
|
||||
if (!ui->overrideCheckBox->isVisible())
|
||||
return false;
|
||||
return ui->overrideCheckBox->isChecked();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user