292 |
292 |
293 from UI.DeleteFilesConfirmationDialog import \ |
293 from UI.DeleteFilesConfirmationDialog import \ |
294 DeleteFilesConfirmationDialog |
294 DeleteFilesConfirmationDialog |
295 dlg = DeleteFilesConfirmationDialog( |
295 dlg = DeleteFilesConfirmationDialog( |
296 self.parent(), |
296 self.parent(), |
297 self.trUtf8("Delete directories"), |
297 self.tr("Delete directories"), |
298 self.trUtf8("Do you really want to delete these directories from" |
298 self.tr("Do you really want to delete these directories from" |
299 " the project?"), |
299 " the project?"), |
300 dirs) |
300 dirs) |
301 |
301 |
302 if dlg.exec_() == QDialog.Accepted: |
302 if dlg.exec_() == QDialog.Accepted: |
303 for dn in fullNames: |
303 for dn in fullNames: |
304 self.project.deleteDirectory(dn) |
304 self.project.deleteDirectory(dn) |