浏览代码

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

Alexander Koblov 7 年之前
父节点
当前提交
169aa65153
共有 1 个文件被更改,包括 2 次插入0 次删除
  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