[Monodevelop-patches-list] r658 - trunk/MonoDevelop/src/Main/Base/Gui/Pads

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Mon Jan 26 01:15:11 EST 2004


Author: tberman
Date: 2004-01-26 01:15:11 -0500 (Mon, 26 Jan 2004)
New Revision: 658

Modified:
   trunk/MonoDevelop/src/Main/Base/Gui/Pads/FileScout.cs
Log:
fix jba's broken file browsing bug


Modified: trunk/MonoDevelop/src/Main/Base/Gui/Pads/FileScout.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Pads/FileScout.cs	2004-01-26 05:31:07 UTC (rev 657)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Pads/FileScout.cs	2004-01-26 06:15:11 UTC (rev 658)
@@ -467,6 +467,7 @@
 /*		void DirectorySelected(object sender, TreeViewEventArgs e)*/
 		{
 			//filelister.ShowFilesInPath(filetree.NodePath + System.IO.Path.DirectorySeparatorChar);
+			if (filetree.NodePath.Length == 0) return; 
 			if (filetree.NodePath[filetree.NodePath.Length - 1] == System.IO.Path.DirectorySeparatorChar)
 				filelister.ShowFilesInPath(filetree.NodePath);
 			else




More information about the Monodevelop-patches-list mailing list