Created
April 13, 2011 15:45
-
-
Save baulig/917786 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects/IncludeNewFilesDialog.cs b/main/src/core/ | |
index 5d61efa..7ad6185 100644 | |
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects/IncludeNewFilesDialog.cs | |
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects/IncludeNewFilesDialog.cs | |
@@ -124,6 +124,9 @@ namespace MonoDevelop.Ide.Projects | |
void TraverseSubtree (TreeIter iter, Action<TreeIter> action) | |
{ | |
+ if (store.IterNChildren () == 0) | |
+ return; | |
+ | |
TreeIter newIter; | |
if (store.IterIsValid (iter)) { | |
store.IterNthChild (out newIter, iter, 0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment