def on_btnDeleteFullListPort_clicked(self): try: port_num = int(self.tblPortsFullList.currentItem().text()) w = wndConfirmation() if w.exec_(): cursor = self.db.cursor() cursor.execute("select deleteportfromlist(2, %s)", ( port_num , )) cursor.close() self.updatePortsLists() except: pass
def on_btnDeleteFullListPort_clicked(self): try: port_num = int(self.tblPortsFullList.currentItem().text()) w = wndConfirmation() if w.exec_(): cursor = self.db.cursor() cursor.execute("select deleteportfromlist(2, %s)", (port_num, )) cursor.close() self.updatePortsLists() except: pass
def on_btnDeleteDomainCreds_clicked(self): w = wndConfirmation() if w.exec_(): self.tblDomainCreds.removeRow(self.tblDomainCreds.currentRow())