Explorar o código

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

Alexander Koblov %!s(int64=7) %!d(string=hai) anos
pai
achega
169aa65153
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/fileviews/ufileviewwithmainctrl.pas

+ 2 - 0
src/fileviews/ufileviewwithmainctrl.pas

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