Browse Source

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

Alexander Koblov 7 years ago
parent
commit
169aa65153
1 changed files with 2 additions and 0 deletions
  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