Преглед изворни кода

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))