If the save location is unavailable, the "Save As" dialog is used.

bzr-revno: 1865
Fixes: https://launchpad.net/bugs/905040
This commit is contained in:
Stevan Pettit 2012-01-06 18:42:09 +00:00 committed by Jonathan Corwin
commit 11d63c6607

View File

@ -595,7 +595,10 @@ class ServiceManager(QtGui.QWidget):
self.mainwindow.finishedProgressBar()
Receiver.send_message(u'cursor_normal')
if success:
shutil.copy(temp_file_name, path_file_name)
try:
shutil.copy(temp_file_name, path_file_name)
except:
return self.saveFileAs()
self.mainwindow.addRecentFile(path_file_name)
self.setModified(False)
try: