summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/MFCDialog/PropertyList.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/MFCDialog/PropertyList.cpp b/Source/MFCDialog/PropertyList.cpp
index 7aa9df3..4887fa4 100644
--- a/Source/MFCDialog/PropertyList.cpp
+++ b/Source/MFCDialog/PropertyList.cpp
@@ -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('\\');