mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-10 00:37:28 +01:00
MG: fixed clicking on message view on same selection
git-svn-id: trunk@3505 -
This commit is contained in:
parent
70db5f4b81
commit
014b6325ec
@ -175,17 +175,15 @@ var
|
||||
Temp : Integer; //this temporarily holds the line # of the selection
|
||||
begin
|
||||
if (MessageView.Items.Count > 0) and (MessageView.SelCount > 0) then
|
||||
Begin
|
||||
Temp := GetSelectedLineIndex;
|
||||
if Temp <> LastSelectedIndex then
|
||||
Begin
|
||||
LastSelectedIndex := Temp;
|
||||
If Assigned(OnSelectionChanged) then
|
||||
OnSelectionChanged(self);
|
||||
end;
|
||||
|
||||
end;
|
||||
|
||||
Begin
|
||||
Temp := GetSelectedLineIndex;
|
||||
if Temp <> LastSelectedIndex then
|
||||
Begin
|
||||
LastSelectedIndex := Temp;
|
||||
end;
|
||||
If Assigned(OnSelectionChanged) then
|
||||
OnSelectionChanged(self);
|
||||
end;
|
||||
end;
|
||||
|
||||
initialization
|
||||
|
||||
Loading…
Reference in New Issue
Block a user