Environment variable modifications with an empty value are valid

This commit is contained in:
baldurk committed 2023-03-08 18:06:46 +00:00
1 parent d36d23ab21
commit e81e00beb3
1 file changed
+1 -1
@@ -130,7 +130,7 @@ void EnvironmentEditor::on_variables_currentItemChanged(RDTreeWidgetItem *curren
EnvironmentModification mod = current->tag().value<EnvironmentModification>();
if(!mod.value.empty())
if(!mod.name.empty())
{
ui->name->setText(mod.name);
ui->value->setText(mod.value);