mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Fix environment variables always being discarded and custom commands always being overriden (#4718)
This commit is contained in:
commit
136ad59fad
2 changed files with 0 additions and 4 deletions
|
|
@ -65,8 +65,6 @@ void CustomCommands::retranslate()
|
||||||
|
|
||||||
bool CustomCommands::checked() const
|
bool CustomCommands::checked() const
|
||||||
{
|
{
|
||||||
if (!ui->overrideCheckBox->isVisible())
|
|
||||||
return true;
|
|
||||||
return ui->overrideCheckBox->isChecked();
|
return ui->overrideCheckBox->isChecked();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -96,8 +96,6 @@ void EnvironmentVariables::retranslate()
|
||||||
|
|
||||||
bool EnvironmentVariables::override() const
|
bool EnvironmentVariables::override() const
|
||||||
{
|
{
|
||||||
if (!ui->overrideCheckBox->isVisible())
|
|
||||||
return false;
|
|
||||||
return ui->overrideCheckBox->isChecked();
|
return ui->overrideCheckBox->isChecked();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue