Explorar el Código

FIX: Don't move cursor when rename operation is active

Alexander Koblov hace 7 años
padre
commit
169aa65153
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/fileviews/ufileviewwithmainctrl.pas

+ 2 - 0
src/fileviews/ufileviewwithmainctrl.pas

@@ -879,6 +879,8 @@ begin
       end;
       end;
     end;
     end;
 
 
+  if edtRename.Visible then Exit;
+
   // A single click starts programs and opens files
   // A single click starts programs and opens files
   if (gMouseSingleClickStart in [1..3]) and (FMainControlMouseDown = False) and
   if (gMouseSingleClickStart in [1..3]) and (FMainControlMouseDown = False) and
      (Shift * [ssShift, ssAlt, ssCtrl] = []) and (not MainControl.Dragging) then
      (Shift * [ssShift, ssAlt, ssCtrl] = []) and (not MainControl.Dragging) then