Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
Mac: Use NSurl.FromFilename when we know Cocoa is handing us a file.
Browse files Browse the repository at this point in the history
Fixes #158.
  • Loading branch information
Bojan Rajkovic committed Jan 12, 2018
1 parent ca77986 commit 4aadb78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Clients/Xamarin.Interactive.Client.Mac/AppDelegate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public override bool OpenFile (NSApplication sender, string filename)
{
SessionDocumentController
.SharedDocumentController
.OpenDocument (new NSUrl (filename));
.OpenDocument (NSUrl.FromFilename (filename));
return true;
}

Expand Down

0 comments on commit 4aadb78

Please sign in to comment.