def btnDeleteClicked(self):
        self.close()
        self.page.entries.takeAt(self.page.entries.indexOf(self))
        self.page.entries.itemAt(0).widget().btnDelete.setEnabled(
            self.page.entries.count() > 1)
dataset/ETHPy150Open chromaway/ngcccbase/ui/sendcoinspage.py/SendcoinsEntry.btnDeleteClicked/original