mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-30 06:32:42 +00:00
Minor changes in she/osx/
This commit is contained in:
parent
49b068cccc
commit
df9c555c87
@ -38,12 +38,11 @@
|
||||
|
||||
- (BOOL)application:(NSApplication*)app openFile:(NSString*)filename
|
||||
{
|
||||
she::Event ev;
|
||||
ev.setType(she::Event::DropFiles);
|
||||
|
||||
std::vector<std::string> files;
|
||||
files.push_back([filename UTF8String]);
|
||||
|
||||
she::Event ev;
|
||||
ev.setType(she::Event::DropFiles);
|
||||
ev.setFiles(files);
|
||||
she::queue_event(ev);
|
||||
return YES;
|
||||
|
Loading…
x
Reference in New Issue
Block a user