mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 18:39:20 +02:00
fixed keeping messages in block mode
git-svn-id: trunk@8992 -
This commit is contained in:
parent
c1d664c2de
commit
dac3215c52
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user