diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2012-10-30 11:58:23 +0000 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2012-10-30 11:58:23 +0000 |
commit | a3888f65a10292b7986c6c45ddf5039d63ef6f71 (patch) | |
tree | 92cbff05a98d7d5b391541aec7445e598640fe65 /src | |
parent | a7095f0e2b8bb6b3d92f8c8324d33acc067c7c39 (diff) | |
download | fpGUI-a3888f65a10292b7986c6c45ddf5039d63ef6f71.tar.xz |
fixes bug where if treeview.Selection was not explicitly set, we could make any selection.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/fpg_tree.pas | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/fpg_tree.pas b/src/gui/fpg_tree.pas index d247e66d..b41003fb 100644 --- a/src/gui/fpg_tree.pas +++ b/src/gui/fpg_tree.pas @@ -855,6 +855,7 @@ begin begin FRootNode := TfpgTreeNode.Create; FRootNode.FTree := self; + FRootNode.Collapsed := False; end; FRootNode.TextColor := clText1; FRootnode.SelTextColor := clSelectionText; |