mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 13:59:26 +02:00
Gtk2: fixed doubled events over TListBox when right mouse button pressed.Fixes issue #17963
git-svn-id: trunk@28311 -
This commit is contained in:
parent
75f412db98
commit
a74e75f6a5
@ -1501,7 +1501,7 @@ begin
|
||||
otherwise LCL is not updated since ChangeLock = 1 in case
|
||||
of pressing right mouse button and 'changed' signal never reach lcl.
|
||||
Issues #16972, #17888. }
|
||||
if GTK_IS_TREE_VIEW(Widget) and (event^.button = 3) then
|
||||
if Result and GTK_IS_TREE_VIEW(Widget) and (event^.button = 3) then
|
||||
begin
|
||||
Result := False;
|
||||
FillChar(Mess,SizeOf(Mess),0);
|
||||
|
Loading…
Reference in New Issue
Block a user