def _onRootChanged(self, _isRoot): BaseEditMode._onRootChanged(self, _isRoot) self.objectInfoPanel.setVisible(_isRoot)