454 self.tr("Delete Protocols"), |
454 self.tr("Delete Protocols"), |
455 self.tr("Do you really want to delete these protocol files from" |
455 self.tr("Do you really want to delete these protocol files from" |
456 " the project?"), |
456 " the project?"), |
457 files) |
457 files) |
458 |
458 |
459 if dlg.exec_() == QDialog.Accepted: |
459 if dlg.exec() == QDialog.Accepted: |
460 for fn2, fn in zip(fullNames, files): |
460 for fn2, fn in zip(fullNames, files): |
461 self.closeSourceWindow.emit(fn2) |
461 self.closeSourceWindow.emit(fn2) |
462 self.project.deleteFile(fn) |
462 self.project.deleteFile(fn) |
463 |
463 |
464 ########################################################################### |
464 ########################################################################### |