78 Private slot to delete the selected entries. |
78 Private slot to delete the selected entries. |
79 """ |
79 """ |
80 yes = EricMessageBox.yesNo( |
80 yes = EricMessageBox.yesNo( |
81 self, |
81 self, |
82 self.tr("Delete Selected Entries"), |
82 self.tr("Delete Selected Entries"), |
83 self.tr( |
83 self.tr("""Do you really want to delete the selected history entries?"""), |
84 """Do you really want to delete the selected history entries?""" |
|
85 ), |
|
86 ) |
84 ) |
87 if yes: |
85 if yes: |
88 for itm in self.historyList.selectedItems(): |
86 for itm in self.historyList.selectedItems(): |
89 row = self.historyList.row(itm) |
87 row = self.historyList.row(itm) |
90 self.historyList.takeItem(row) |
88 self.historyList.takeItem(row) |