def ballast_system_selected(self):
    if self.guiSelection:
        if isinstance(self.guiSelection[0], nodes.BallastSystem):
            self._bs = self.guiSelection[0]
            self._vesselNode = self._bs.parent
            self.ui.label_4.setText(self._vesselNode.name)
def ballast_system_selected(self):
    if self.guiSelection:
        if isinstance(self.guiSelection[0], nodes.BallastSystem):
            self._bs = self.guiSelection[0]
            self._vesselNode = self._bs.parent
            self.ui.label_4.setText(self._vesselNode.name)