File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -1074,11 +1074,6 @@ -(void)applicationDidFinishLaunching:(NSNotification*)aNotification
10741074 }
10751075 }
10761076
1077- // Allow for Dragging Main.lua file on Sim
1078- if (@available (macOS 10.13 , *)) {
1079- [[fHomeScreen window ] registerForDraggedTypes: @[NSPasteboardTypeFileURL ]];
1080- }
1081-
10821077
10831078 // Calling this makes the Welcome window fail to appear (the subsequent call seems to work without it)
10841079 // [[NSProcessInfo processInfo] setAutomaticTerminationSupportEnabled:YES];
@@ -1284,6 +1279,10 @@ - (void) loadExtension:(ExtensionParams *) extParams
12841279 if ([extParams.path hasSuffix: [builtinExtDirectory stringByAppendingPathComponent: @" welcome" ]])
12851280 {
12861281 fHomeScreen = extView;
1282+ // Allow for Dragging Main.lua file on Sim
1283+ if (@available (macOS 10.13 , *)) {
1284+ [[fHomeScreen window ] registerForDraggedTypes: @[NSPasteboardTypeFileURL ]];
1285+ }
12871286 }
12881287
12891288 // Save the fact that this extension is running in the user's defaults
You can’t perform that action at this time.
0 commit comments