Use absolute path instead of uri when opening save-as dialog

This commit is contained in:
Kevin Sawicki & Nathan Sobo
2013-07-22 18:18:42 -06:00
parent fa59aafffb
commit faa8a8d9fc

View File

@@ -223,7 +223,7 @@ class Pane extends View
saveItemAs: (item, nextAction) ->
return unless item.saveAs?
itemPath = item.getUri?()
itemPath = item.getPath?()
itemPath = dirname(itemPath) if itemPath
path = atom.showSaveDialogSync(itemPath)
if path