Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
FPC
Lazarus
Lazarus
Commits
01b55f14
Commit
01b55f14
authored
Feb 25, 2015
by
Bart B
🐞
Browse files
TCheckListBox: fix possible crash introduced in r47992 #
62711a2b
.
git-svn-id: trunk@47993 -
parent
62711a2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
lcl/checklst.pas
View file @
01b55f14
...
...
@@ -302,7 +302,7 @@ begin
if
(
Key
=
VK_SPACE
)
and
(
Shift
=[])
then
begin
//Delphi (7) sets ItemIndex to 0 in this case and fires OnClick
if
(
ItemIndex
<
0
)
and
(
Items
.
Count
>
=
0
)
then
if
(
ItemIndex
<
0
)
and
(
Items
.
Count
>
0
)
then
begin
ItemIndex
:=
0
;
Click
;
...
...
FPC Admin account
@fpc_admin
mentioned in issue
#24695 (closed)
·
Jul 28, 2021
mentioned in issue
#24695 (closed)
mentioned in issue #24695
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment