'Link \'enabled\' state was toggled in the context menu.'

def __toggleLinkEnabled(self, enabled):

    if self.__contextMenuTarget:
        link = self.__contextMenuTarget
        command = commands.SetAttrCommand(link, 'enabled', enabled, name=self.tr('Set    enabled'))
        self.__undoStack.push(command)
