Fix broken EnvironmentVariables and CustomCommands when tab is inactive

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad
2026-01-09 21:07:45 +00:00
parent c7501b747e
commit 01228cc0b7
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();
}