فهرست منبع

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(NewDirAction, ScpExplorer->CreateDirectory(osCurrent))
     EXE(RemoteFindFilesAction2, ScpExplorer->RemoteFindFiles())
     EXE(RemoteFindFilesAction2, ScpExplorer->RemoteFindFiles())
     //selection
     //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(SelectAction, ScpExplorer->SelectByMask(osCurrent, true))
     EXE(UnselectAction, ScpExplorer->SelectByMask(osCurrent, false))
     EXE(UnselectAction, ScpExplorer->SelectByMask(osCurrent, false))
     EXE(SelectAllAction, ScpExplorer->SelectAll(osCurrent, smAll))
     EXE(SelectAllAction, ScpExplorer->SelectAll(osCurrent, smAll))