Don't show error when added new paths
Empty paths should be discarded instead of throwing an error about missing data
This commit is contained in:
parent
d8ac53d7b4
commit
9986eb5cf6
|
@ -180,6 +180,11 @@ bool DIALOG_CONFIGURE_PATHS::TransferDataFromWindow()
|
||||||
{
|
{
|
||||||
// Don't check for consistency on external variables, just use them as-is
|
// Don't check for consistency on external variables, just use them as-is
|
||||||
}
|
}
|
||||||
|
else if( name.empty() && path.empty() )
|
||||||
|
{
|
||||||
|
// Skip empty rows altogether
|
||||||
|
continue;
|
||||||
|
}
|
||||||
else if( name.IsEmpty() )
|
else if( name.IsEmpty() )
|
||||||
{
|
{
|
||||||
m_errorGrid = m_EnvVars;
|
m_errorGrid = m_EnvVars;
|
||||||
|
|
Loading…
Reference in New Issue