summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2010-04-25 11:59:14 +0200
committerGraeme Geldenhuys <graemeg@gmail.com>2010-04-25 11:59:14 +0200
commit31b1fce01f1eb90de54e6912977b498b48d6af05 (patch)
tree6be30900954c8c731014f535e7a2fb19d80061e8 /src
parentfbfdac6f8d8958677311de52ce4e64789452d842 (diff)
downloadfpGUI-31b1fce01f1eb90de54e6912977b498b48d6af05.tar.xz
minor change to TfpgWidget.
Diffstat (limited to 'src')
-rw-r--r--src/corelib/fpg_widget.pas3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/fpg_widget.pas b/src/corelib/fpg_widget.pas
index 0aba7204..da789c26 100644
--- a/src/corelib/fpg_widget.pas
+++ b/src/corelib/fpg_widget.pas
@@ -1030,9 +1030,8 @@ begin
if Components[n] is TfpgWidget then
begin
w := TfpgWidget(Components[n]);
+ if w.Enabled and w.Visible and w.Focusable then
begin
-
- if w.Visible and w.Enabled and w.Focusable then
case direction of
fsdFirst:
if w.TabOrder < lasttaborder then