FIX: Crash in configure hotkeys

This commit is contained in:
Alexander Koblov 2016-01-24 00:01:06 +00:00
commit 2f2f9e48bf

View file

@ -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;