def _mode_changed_impl(self): """Sets flag to update Z axis positions """ self.needModeUpdate = True LayoutGroupDepth._mode_changed_impl(self)