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