FIX: If current selection was "NOTFOUND", then selecting the browser
would crash since a "/" could not be found in the current selection.
This commit is contained in:
parent
099436db26
commit
386f4391b2
|
@ -433,6 +433,10 @@ void CPropertyList::OnButton()
|
|||
Filter);
|
||||
CString initialDir;
|
||||
CString currPath = pItem->m_curValue;
|
||||
if (currPath == "NOTFOUND")
|
||||
{
|
||||
currPath = "";
|
||||
}
|
||||
if (currPath.GetLength() > 0)
|
||||
{
|
||||
int endSlash = currPath.ReverseFind('\\');
|
||||
|
|
Loading…
Reference in New Issue