Don't call update on missing marginObject
The presence of the margin object was correctly checked for the updated value of m_oldMargins. But it was not evaluated before deciding to call update() which would lead to a crash.
The presence of the margin object was correctly checked for the updated value of m_oldMargins. But it was not evaluated before deciding to call update() which would lead to a crash.