mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-27 00:17:24 +01:00
* fix for buggy behaviour with Tabs without shortcuts
This commit is contained in:
parent
7ad61bd290
commit
b0041b5951
@ -397,7 +397,8 @@ begin
|
|||||||
else
|
else
|
||||||
for I:=0 to DefCount-1 do
|
for I:=0 to DefCount-1 do
|
||||||
begin
|
begin
|
||||||
if Upcase(GetAltChar(Event.KeyCode))=AtTab(I)^.ShortCut
|
if (AtTab (I)^.ShortCut <> #0) and
|
||||||
|
(Upcase(GetAltChar(Event.KeyCode)) = AtTab(I)^.ShortCut)
|
||||||
then begin
|
then begin
|
||||||
Index:=I;
|
Index:=I;
|
||||||
ClearEvent(Event);
|
ClearEvent(Event);
|
||||||
@ -731,7 +732,10 @@ begin
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.6 2005-02-14 17:13:18 peter
|
Revision 1.7 2005-05-15 15:23:28 hajny
|
||||||
|
* fix for buggy behaviour with Tabs without shortcuts
|
||||||
|
|
||||||
|
Revision 1.6 2005/02/14 17:13:18 peter
|
||||||
* truncate log
|
* truncate log
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user