Browse Source

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

Source commit: c0a8ce6166db14abaa50f488142d151a30e90655
Martin Prikryl 4 years ago
parent
commit
5913316c98
1 changed files with 1 additions and 1 deletions
  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++)