141 @return tuple containing the selected action (cancel, rename, |
141 @return tuple containing the selected action (cancel, rename, |
142 overwrite) and the filename (in case of 'rename' or 'overwrite') |
142 overwrite) and the filename (in case of 'rename' or 'overwrite') |
143 @rtype tuple of (str, str) |
143 @rtype tuple of (str, str) |
144 """ |
144 """ |
145 dlg = EricFileSaveConfirmDialog(filename, title, message=message, |
145 dlg = EricFileSaveConfirmDialog(filename, title, message=message, |
146 picker=picker, parent=parent) |
146 picker=picker, parent=parent) |
147 dlg.exec() |
147 dlg.exec() |
148 return dlg.selectedAction() |
148 return dlg.selectedAction() |