[App][Gui]Add Filter for PropertyFile in PropertyEditor

This commit is contained in:
wandererfan
2019-09-18 20:02:31 -04:00
committed by WandererFan
parent e8928898a8
commit 81d2ff358d
3 changed files with 24 additions and 2 deletions

View File

@@ -630,7 +630,7 @@ TYPESYSTEM_SOURCE(App::PropertyFile , App::PropertyString)
PropertyFile::PropertyFile()
{
m_filter = "";
}
PropertyFile::~PropertyFile()
@@ -638,3 +638,13 @@ PropertyFile::~PropertyFile()
}
void PropertyFile::setFilter(const std::string f)
{
m_filter = f;
}
std::string PropertyFile::getFilter(void) const
{
return m_filter;
}