mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-01 13:19:31 +01:00
ExtendedNotebook: fixed selecting last tab. Issue #0019845
git-svn-id: trunk@31894 -
This commit is contained in:
parent
2a8cfe716e
commit
91f4559302
@ -18,7 +18,7 @@ unit ExtendedNotebook;
|
||||
// Gtk, QT: MDown, Changing, Change, MMove, MUp
|
||||
// Carbon: MDown, MMove, Changing, Change, MUp
|
||||
|
||||
{$DEFINE ExtNBookDebug}
|
||||
{off $DEFINE ExtNBookDebug}
|
||||
|
||||
interface
|
||||
|
||||
@ -179,7 +179,6 @@ var
|
||||
begin
|
||||
{$IFDEF ExtNBookDebug}debugln(['TExtendedNotebook.MouseUp']);{$ENDIF}
|
||||
MouseCapture := False;
|
||||
FMouseDownIndex := -1;
|
||||
InitDrag;
|
||||
inherited MouseUp(Button, Shift, X, Y);
|
||||
{$IFnDEF LCLWIN32}
|
||||
@ -192,6 +191,7 @@ begin
|
||||
PageIndex:=MouseUpTabIndex;
|
||||
end;
|
||||
{$ENDIF}
|
||||
FMouseDownIndex := -1;
|
||||
end;
|
||||
|
||||
procedure TExtendedNotebook.MouseMove(Shift: TShiftState; X, Y: Integer);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user