Thread: SVN Commit by dpage: r4608 - trunk/pgadmin3/src/base

SVN Commit by dpage: r4608 - trunk/pgadmin3/src/base

From
svn@pgadmin.org
Date:
Author: dpage
Date: 2005-10-24 14:08:21 +0100 (Mon, 24 Oct 2005)
New Revision: 4608

Modified:
   trunk/pgadmin3/src/base/appbase.cpp
Log:
Don't forget to search the loadpath for pg_dump etc.

Modified: trunk/pgadmin3/src/base/appbase.cpp
===================================================================
--- trunk/pgadmin3/src/base/appbase.cpp    2005-10-24 12:47:18 UTC (rev 4607)
+++ trunk/pgadmin3/src/base/appbase.cpp    2005-10-24 13:08:21 UTC (rev 4608)
@@ -46,6 +46,9 @@
     if (loadPath.IsEmpty())
         loadPath = wxT(".");

+    // Look in the app directory for things first
+    path.Add(loadPath);
+
 #if defined(__WXMSW__)

     // Search for the right paths. We check the following locations: