mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-28 12:49:25 +02:00
Qt: do not double mouse events from tabbar. fixes #16325
git-svn-id: trunk@24868 -
This commit is contained in:
parent
ea057e2755
commit
12aa200496
@ -6270,7 +6270,11 @@ begin
|
||||
QEventKeyRelease: SlotKey(Sender, Event);
|
||||
QEventMouseButtonPress,
|
||||
QEventMouseButtonRelease,
|
||||
QEventMouseButtonDblClick: Result := SlotTabBarMouse(Sender, Event);
|
||||
QEventMouseButtonDblClick:
|
||||
begin
|
||||
if QMouseEvent_button(QMouseEventH(Event)) = QtLeftButton then
|
||||
Result := SlotTabBarMouse(Sender, Event);
|
||||
end;
|
||||
else
|
||||
QEvent_ignore(Event);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user