mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
When saving buffer with no url, pop up 'save as' dialog.
Remove a lot of old code.
This commit is contained in:
committed by
Corey Johnson & Nathan Sobo
parent
ff57cbc8f6
commit
7dcb00f0ec
@@ -37,7 +37,7 @@ class Native
|
||||
panel = OSX.NSSavePanel.savePanel
|
||||
if panel.runModal isnt OSX.NSFileHandlingPanelOKButton
|
||||
return null
|
||||
panel.filenames.lastObject
|
||||
panel.filenames.lastObject.valueOf()
|
||||
|
||||
writeToPasteboard: (text) ->
|
||||
pb = OSX.NSPasteboard.generalPasteboard
|
||||
|
||||
Reference in New Issue
Block a user