Explorar el Código

FIX: Restore focus when open virtual file system list

Alexander Koblov hace 2 años
padre
commit
624872ea0d
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/umaincommands.pas

+ 3 - 0
src/umaincommands.pas

@@ -704,7 +704,10 @@ var
 begin
   FileSource:= TVfsFileSource.Create(gWFXPlugins);
   if Assigned(FileSource) then
+  begin
     Panel.AddFileSource(FileSource, FileSource.GetRootDir);
+    frmMain.ActiveFrame.SetFocus;
+  end;
 end;
 
 procedure TMainCommands.DoPanelsSplitterPerPos(SplitPos: Integer);