Explorar o código

FIX: Crash in configure hotkeys

Alexander Koblov %!s(int64=9) %!d(string=hai) anos
pai
achega
2f2f9e48bf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;