Explorar o código

Bug fix: Acting on queue list item using keyboard shortcut could have initiated another random action

Source commit: c0a8ce6166db14abaa50f488142d151a30e90655
Martin Prikryl %!s(int64=4) %!d(string=hai) anos
pai
achega
5913316c98
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      source/forms/CustomScpExplorer.cpp

+ 1 - 1
source/forms/CustomScpExplorer.cpp

@@ -4557,7 +4557,7 @@ void __fastcall TCustomScpExplorerForm::KeyDown(Word & Key, Classes::TShiftState
     QueueView3->OnKeyDown(QueueView3, Key, Shift);
   }
 
-  if (!DirView(osCurrent)->IsEditing())
+  if ((Key != 0) && !DirView(osCurrent)->IsEditing())
   {
     TShortCut KeyShortCut = ShortCut(Key, Shift);
     for (int Index = 0; Index < NonVisualDataModule->ExplorerActions->ActionCount; Index++)