소스 검색

Bug fix: Mark > Select/Unselect command was behaving incorrectly

Since 3.7.6 "New optional file selection mode in Commander interface, where mouse behaves as in Windows Explorer and keyboard behaves as in Norton Commander"

Source commit: a1262a982da3b10d86ba3ab714908b277bbe078a
Martin Prikryl 2 년 전
부모
커밋
0430d233ee
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      source/forms/NonVisual.cpp

+ 1 - 1
source/forms/NonVisual.cpp

@@ -603,7 +603,7 @@ void __fastcall TNonVisualDataModule::ExplorerActionsExecute(
     EXE(NewDirAction, ScpExplorer->CreateDirectory(osCurrent))
     EXE(RemoteFindFilesAction2, ScpExplorer->RemoteFindFiles())
     //selection
-    EXE(SelectOneAction, DirView(osCurrent)->SelectCurrentItem(DirView(osCurrent)->NortonLike))
+    EXE(SelectOneAction, DirView(osCurrent)->SelectCurrentItem(DirView(osCurrent)->NortonLike != nlOff))
     EXE(SelectAction, ScpExplorer->SelectByMask(osCurrent, true))
     EXE(UnselectAction, ScpExplorer->SelectByMask(osCurrent, false))
     EXE(SelectAllAction, ScpExplorer->SelectAll(osCurrent, smAll))