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

Commit

Permalink
Fix a compilo "No visible @interface for 'NSTreeNode' declares the se…
Browse files Browse the repository at this point in the history
…lector 'count'" in Xcode 9.1 . (primalmotion#6)
  • Loading branch information
enver-haase authored and primalmotion committed Jan 2, 2019
1 parent 556e9c4 commit f5367f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AMSessionViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ - (void) awakeFromNib
f = nil;

NSInteger tunnelType = AMSessionOutgoingTunnel;
if ([[sessionsTreeController arrangedObjects] count] > 0)
if ([[[sessionsTreeController arrangedObjects] childNodes] count] > 0)
tunnelType = [[[sessionsTreeController selectedObjects] objectAtIndex:0] sessionTunnelType];

if (tunnelType == AMSessionOutgoingTunnel)
Expand Down

0 comments on commit f5367f3

Please sign in to comment.