+ move global function to namespace

This commit is contained in:
wmayer 2016-05-07 12:21:21 +02:00
parent c1f22cbd8d
commit d8ad50d11d

View File

@ -98,6 +98,7 @@ App::DocumentObjectExecReturn *AttachableObject::execute()
return Part::Feature::execute();
}
namespace Attacher {
void setReadonlyness(App::Property &prop, bool on)
{
unsigned long status = prop.getStatus();
@ -105,6 +106,7 @@ void setReadonlyness(App::Property &prop, bool on)
if (status != prop.getStatus())
App::GetApplication().signalChangePropertyEditor(prop);
}
}
void AttachableObject::onChanged(const App::Property* prop)
{