253 if dlg.exec_() == QDialog.Accepted: |
253 if dlg.exec_() == QDialog.Accepted: |
254 shelveNames = dlg.getSelectedShelves() |
254 shelveNames = dlg.getSelectedShelves() |
255 else: |
255 else: |
256 return |
256 return |
257 |
257 |
258 from UI.DeleteFilesConfirmationDialog import \ |
258 from UI.DeleteFilesConfirmationDialog import ( |
259 DeleteFilesConfirmationDialog |
259 DeleteFilesConfirmationDialog |
|
260 ) |
260 dlg = DeleteFilesConfirmationDialog( |
261 dlg = DeleteFilesConfirmationDialog( |
261 None, |
262 None, |
262 self.tr("Delete shelves"), |
263 self.tr("Delete shelves"), |
263 self.tr("Do you really want to delete these shelves?"), |
264 self.tr("Do you really want to delete these shelves?"), |
264 shelveNames) |
265 shelveNames) |