From c5aab2d4ce9ff8b00acbbfc71aab35b6e43589dd Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 23 Jun 2015 13:31:57 +0200 Subject: Fix a rare exception when opening a session via "Open Recent" --- Source/SPAppController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/SPAppController.m b/Source/SPAppController.m index 9b658dc4..9ff2cad0 100644 --- a/Source/SPAppController.m +++ b/Source/SPAppController.m @@ -491,7 +491,7 @@ // Set global session properties [SPAppDelegate setSpfSessionDocData:spfsDocData]; - [SPAppDelegate setSessionURL:[NSURL fileURLWithPath:filePath]]; + [SPAppDelegate setSessionURL:filePath]; // Loop through each defined window in reversed order to reconstruct the last active window for (NSDictionary *window in [[[spfs objectForKey:@"windows"] reverseObjectEnumerator] allObjects]) -- cgit v1.2.3