Prevent unresolved path expansions from appearing as blank entries in 3D path list

This commit is contained in:
Cirilo Bernardo 2016-01-18 08:34:21 +11:00
parent 5d82d9348d
commit 9aeaf4a71b
1 changed files with 3 additions and 1 deletions

View File

@ -357,7 +357,9 @@ void PANEL_PREV_3D::updateDirChoiceList( void )
while( sL != eL )
{
cl.push_back( sL->m_pathexp );
if( !sL->m_pathexp.empty() )
cl.push_back( sL->m_pathexp );
++sL;
}