mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-06 20:31:35 +00:00
Environment variable modifications with an empty value are valid
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user