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

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

Source commit: c0a8ce6166db14abaa50f488142d151a30e90655
Martin Prikryl пре 4 година
родитељ
комит
5913316c98
1 измењених фајлова са 1 додато и 1 уклоњено
  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++)