diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-03-04 11:28:09 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-03-04 11:28:09 +0100 |
| commit | 27a85f2d4e9987ac1809199e280e17a36d68c783 (patch) | |
| tree | 48a15efb23c45724f0d44a0c01582f037c3acaee /src/GraphicObjects/TemplatedGroup.cs | |
| parent | 5bcd45c3ccc34edc68188a3acdb09e742b21aef3 (diff) | |
crowIde wip, docker wip, stack remove child debug
Diffstat (limited to 'src/GraphicObjects/TemplatedGroup.cs')
| -rw-r--r-- | src/GraphicObjects/TemplatedGroup.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/GraphicObjects/TemplatedGroup.cs b/src/GraphicObjects/TemplatedGroup.cs index 42ffa51c..f7c93763 100644 --- a/src/GraphicObjects/TemplatedGroup.cs +++ b/src/GraphicObjects/TemplatedGroup.cs @@ -457,8 +457,9 @@ namespace Crow } if (iTemp.Expand != null && g is Expandable) { - (g as Expandable).Expand += iTemp.Expand; - (g as Expandable).GetIsExpandable = iTemp.HasSubItems; + Expandable e = g as Expandable; + e.Expand += iTemp.Expand; + e.GetIsExpandable = iTemp.HasSubItems; } g.DataSource = o; |