def updateEditButtons(self):
        self.workflowSearch.setup_results()
        self.executionSearch.setup_results()
        id = self.connectionList.getCurrentItemId()
        if id != -1:
            self.removeButton.setEnabled(True)
        else:
            self.removeButton.setEnabled(False)
updateEditButtons() -> None
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/collection/explorer.py/QExplorerWindow.updateEditButtons