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
No known key found for this signature in database
GPG key ID: 5E39D70B4C93C38E
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();
}