2
0
Эх сурвалжийг харах

FIX: Crash in configure hotkeys

Alexander Koblov 9 жил өмнө
parent
commit
2f2f9e48bf
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      src/fcopymovedlg.pas

+ 1 - 1
src/fcopymovedlg.pas

@@ -369,7 +369,7 @@ begin
   if Assigned(Hotkey) then
     btnAddToQueue.Caption := btnAddToQueue.Caption + ' (' + ShortcutsToText(Hotkey.Shortcuts) + ')';
 
-  if fspListInMainThread in FFileSource.Properties then
+  if Assigned(FFileSource) and (fspListInMainThread in FFileSource.Properties) then
   begin
     btnAddToQueue.Visible:= False;
     FQueueIdentifier:= ModalQueueId;