mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-01-07 05:11:01 +01:00
IDE: messages: fixed crash on popup
git-svn-id: trunk@19440 -
This commit is contained in:
parent
04d02eda27
commit
227db54b29
@ -303,6 +303,7 @@ begin
|
||||
FVisibleItems := TFPList.Create;
|
||||
FSrcPositions := TAVLTree.Create(@CompareMsgSrcPositions);
|
||||
FLastSelectedIndex := -1;
|
||||
FQuickFixItems:=TFPList.Create;
|
||||
|
||||
ImgIDNone := IDEImages.LoadImage(16, 'state_error');
|
||||
ImgIDHasQuickFix := IDEImages.LoadImage(16, 'ce_function');
|
||||
@ -1018,6 +1019,7 @@ const
|
||||
|
||||
begin
|
||||
if Stage<>cdPostPaint then exit;
|
||||
// a paint means, something has changed (scrolling, expand, collapse, resize, ...)
|
||||
Changed;
|
||||
|
||||
//DebugLn(['TMessagesView.MessageViewDrawItem Index=',Node.Index,' Count=',MessageTreeView.Items.Count,' TheText="',TheText,'"']);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user