aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/TabItem.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-24 11:51:12 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-24 11:51:12 +0100
commit2d5dfc5b99cc3abfdafad69c19ce8ea05e9e8af4 (patch)
treecae06465e3812852729ebef82ae5cdc047cc5541 /src/GraphicObjects/TabItem.cs
parent0e7aaef3655c455094df9a6a4580ad0aff8519a1 (diff)
change namespace of CrowIDE to Crow.Coding, move editor source inside, crowIde wip
Diffstat (limited to 'src/GraphicObjects/TabItem.cs')
-rw-r--r--src/GraphicObjects/TabItem.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GraphicObjects/TabItem.cs b/src/GraphicObjects/TabItem.cs
index eab0cb0d..676904b5 100644
--- a/src/GraphicObjects/TabItem.cs
+++ b/src/GraphicObjects/TabItem.cs
@@ -217,7 +217,7 @@ namespace Crow
//if tab is used as a templated item root in a templatedGroup, local datasource
//is not null, in this case, removing the data entries will delete automatically the item
if (localDataSourceIsNull)
- (Parent as TabView).DeleteChild (this);
+ (Parent as TabView)?.DeleteChild (this);
}
#endregion