Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
What's new
4
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
92a535fc
Commit
92a535fc
authored
Oct 20, 2019
by
Juha Manninen
Browse files
Revert r57155 and r60340 #
b6923ebc
because of a regression bug. See issue
#36170
.
git-svn-id: trunk@62095 -
parent
834b5922
Changes
1
Hide whitespace changes
Inline
Side-by-side
lcl/include/customcheckbox.inc
View file @
92a535fc
...
...
@@ -24,21 +24,11 @@
Set
new
state
of
the
checkbox
.
------------------------------------------------------------------------------
}
procedure
TCustomCheckBox
.
SetState
(
Value
:
TCheckBoxState
);
var
OldState
:
TCheckBoxState
;
begin
if
FState
<>
Value
then
begin
OldState
:=
FState
;
FState
:=
Value
;
if
Action
is
TCustomAction
then
TCustomAction
(
Action
)
.
Checked
:=
FState
=
cbChecked
;
ApplyChanges
;
//some widgetsets (gtk*) does not allow to uncheck a radio button
//only call OnChange if effectivelly changed
FState
:=
RetrieveState
;
if
(
FState
<>
OldState
)
and
not
(
csLoading
in
ComponentState
)
then
DoClickOnChange
;
end
;
end
;
...
...
FPC Admin account
@fpc_admin
mentioned in issue
#36170 (closed)
·
Jul 29, 2021
mentioned in issue
#36170 (closed)
mentioned in issue #36170
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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