def METHOD_NAME(self):
    """Callback: the Remove License button was clicked"""
    items = self.widget.tableWidget.selectedIndexes()
    if items:
        # We only support single-selection, so can just pull the row # from
        # the first entry
        row = items[0].row()
        shortcode = self.widget.tableWidget.item(row, 0).text()
        path = self.widget.tableWidget.item(row, 1).text()
        self.widget.tableWidget.removeRow(row)
        self.metadata.removeLicense(shortcode, path)