Author: bgbnbigben
Date: 2011-02-06 03:58:48 -0800 (Sun, 06 Feb 2011)
New Revision: 8382
Log:
Fixed a single-click-to-traverse-into-directory bug in the FileChooser


Modified:
   trunk/src/FileChooser2.cxx

Modified: trunk/src/FileChooser2.cxx
===================================================================
--- trunk/src/FileChooser2.cxx  2011-02-06 10:24:23 UTC (rev 8381)
+++ trunk/src/FileChooser2.cxx  2011-02-06 11:58:48 UTC (rev 8382)
@@ -501,11 +501,7 @@
     // Strip any trailing slash from the directory name...
     if (*filename == '/') *filename = '\0';
 
-//    puts("Setting fileName from fileListCB...");
-    if (fltk::filename_isdir(pathname))
-      directory(pathname, true);
-    else
-      fileName->value(pathname);
+    fileName->value(pathname);
 
     // Update the preview box...
     fltk::remove_timeout((TimeoutHandler)previewCB, this);

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to