fixed keeping messages in block mode

git-svn-id: trunk@8992 -
This commit is contained in:
mattias 2006-03-22 20:21:12 +00:00
parent c1d664c2de
commit dac3215c52

View File

@ -640,6 +640,10 @@ end;
procedure TMessagesView.Clear;
begin
if Self=nil then exit;
if fBlockCount>0 then begin
// keep the old blocks
exit;
end;
ClearItems;
if not Assigned(MessageListBox.OnClick) then
MessageListBox.OnClick := @MessageViewClicked;