mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Use absolute path instead of uri when opening save-as dialog
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user