فهرست منبع

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