check for null string

This commit is contained in:
wmayer
2017-10-04 20:03:59 +02:00
parent 58c7b37661
commit ef11efce55

View File

@@ -69,6 +69,8 @@ public:
}
virtual void OnChange(ParameterGrp::SubjectType &rCaller,ParameterGrp::MessageType Reason)
{
if (!Reason || Reason[0] == '\0')
return;
Base::PyGILStateLocker lock;
try {
ParameterGrp& rGrp = static_cast<ParameterGrp&>(rCaller);