explorer: fixed going to location via command line. e.g.: explorer /home
[ede] / explorer / src / Explorer.ec
index 2f447f8..f1f2958 100644 (file)
@@ -23,7 +23,9 @@ class Explorer : GuiApplication
       QuickPathTool goPath { };
       QuickPathTool searchPath { };
       char * findWhat = null;
+
       SetLoggingMode(debug, null);
+
       if(argc > 1)
       {
          if(!strcmpi(argv[1], "go") && argc > 2)
@@ -61,7 +63,7 @@ class Explorer : GuiApplication
       {
          ExplorerWindow explorerWnd { };
          explorerWnd.Create();
-         //explorerWnd.GoToLocation(goPath);
+         explorerWnd.view.path = goPath;
       }
       else if(searchPath)
       {