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);
|
Filter);
|
||||||
CString initialDir;
|
CString initialDir;
|
||||||
CString currPath = pItem->m_curValue;
|
CString currPath = pItem->m_curValue;
|
||||||
|
if (currPath == "NOTFOUND")
|
||||||
|
{
|
||||||
|
currPath = "";
|
||||||
|
}
|
||||||
if (currPath.GetLength() > 0)
|
if (currPath.GetLength() > 0)
|
||||||
{
|
{
|
||||||
int endSlash = currPath.ReverseFind('\\');
|
int endSlash = currPath.ReverseFind('\\');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user