mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-24 19:39:17 +02:00
ExtendedNotebook: fixed selecting last tab. Issue #0019845
git-svn-id: trunk@31893 -
This commit is contained in:
parent
d07fc13245
commit
2a8cfe716e
@ -186,7 +186,7 @@ begin
|
||||
if not FTabDragged then begin
|
||||
// no drag => check for normal click and activate page
|
||||
MouseUpTabIndex := TabIndexAtClientPos(Point(X,Y));
|
||||
if (Button = mbLeft) and (FDraggingTabIndex = MouseUpTabIndex) and
|
||||
if (Button = mbLeft) and (FMouseDownIndex = MouseUpTabIndex) and
|
||||
(FDraggingTabIndex >= 0)
|
||||
then
|
||||
PageIndex:=MouseUpTabIndex;
|
||||
|
Loading…
Reference in New Issue
Block a user