Explorar o código

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 %!s(int64=2) %!d(string=hai) anos
pai
achega
0430d233ee
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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))