diff options
author | Max <post@wickenrode.com> | 2015-06-23 13:31:57 +0200 |
---|---|---|
committer | Max <post@wickenrode.com> | 2015-06-29 21:57:21 +0200 |
commit | c5aab2d4ce9ff8b00acbbfc71aab35b6e43589dd (patch) | |
tree | ac24f235f7c356042e60c19b84c07f26dc8f34c6 /Source | |
parent | e48ae77b1bc2bcd3bebfd7121c59ee9afa493f6f (diff) | |
download | sequelpro-c5aab2d4ce9ff8b00acbbfc71aab35b6e43589dd.tar.gz sequelpro-c5aab2d4ce9ff8b00acbbfc71aab35b6e43589dd.tar.bz2 sequelpro-c5aab2d4ce9ff8b00acbbfc71aab35b6e43589dd.zip |
Fix a rare exception when opening a session via "Open Recent"
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPAppController.m | 2 |
1 files changed, 1 insertions, 1 deletions
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]) |