Browse Source

Don't show error when added new paths

Empty paths should be discarded instead of throwing an error about
missing data
7.0
Seth Hillbrand 3 years ago
parent
commit
9986eb5cf6
  1. 5
      common/dialogs/dialog_configure_paths.cpp

5
common/dialogs/dialog_configure_paths.cpp

@ -180,6 +180,11 @@ bool DIALOG_CONFIGURE_PATHS::TransferDataFromWindow()
{
// 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() )
{
m_errorGrid = m_EnvVars;

Loading…
Cancel
Save