Try to avoid a NullReferenceException:
commit507fcaa288b804faa32f8809dbc4540b678fb904
authoryla <yla>
Fri, 24 Apr 2015 09:06:20 +0000 (24 09:06 +0000)
committeryla <yla>
Fri, 24 Apr 2015 09:06:20 +0000 (24 09:06 +0000)
tree264f898f9562ed1895568b63cb8158ee578865d9
parent5360582af95a816b119a9e459217e63f8431b838
Try to avoid a NullReferenceException:

Type:        System.NullReferenceException
Message:     Object reference not set to an instance of an object.
Source:      Cyberduck
Stack Trace: at Ch.Cyberduck.Ui.Controller.BrowserController.IsEditable(Path selected)
  at Ch.Cyberduck.Ui.Controller.BrowserController.UpdateEditIcon()
  at Ch.Cyberduck.Ui.Controller.BrowserController.View_BrowserSelectionChanged()
  at Ch.Cyberduck.Ui.Winforms.BrowserForm.browser_SelectionChanged(Object sender, EventArgs e)
  at BrightIdeasSoftware.ObjectListView.OnSelectionChanged(EventArgs e)
  at BrightIdeasSoftware.ObjectListView.HandleApplicationIdle(Object sender, EventArgs e)
  at BrightIdeasSoftware.TreeListView.HandleApplicationIdle(Object sender, EventArgs e)

git-svn-id: https://svn.cyberduck.io/trunk@17430 9e2dff1d-8f06-0410-b5b1-4d70b6340adc
source/ch/cyberduck/ui/controller/BrowserController.cs