Author: danw
Date: 2005-03-14 17:00:31 -0500 (Mon, 14 Mar 2005)
New Revision: 41807

Modified:
   trunk/stetic/stetic/Project.cs
Log:
don't crash when the user clicks on a placeholder


Modified: trunk/stetic/stetic/Project.cs
===================================================================
--- trunk/stetic/stetic/Project.cs      2005-03-14 21:46:09 UTC (rev 41806)
+++ trunk/stetic/stetic/Project.cs      2005-03-14 22:00:31 UTC (rev 41807)
@@ -166,6 +166,8 @@
 
                        if (focus == null)
                                Selected (null, null);
+                       else if (focus.Contents == null)
+                               Selected (focus, null);
                        else
                                Selected (focus, nodes[focus.Contents] as 
ProjectNode);
                }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to