Index: src/DeltaShell/DeltaShell.Plugins.SharpMapGis.Gui/Forms/MapLegendView/VectorStyleTreeViewNodePresenter.cs =================================================================== diff -u -r8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9 -r5fc71a385897af92ccb092f2f969b5709afab85a --- src/DeltaShell/DeltaShell.Plugins.SharpMapGis.Gui/Forms/MapLegendView/VectorStyleTreeViewNodePresenter.cs (.../VectorStyleTreeViewNodePresenter.cs) (revision 8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9) +++ src/DeltaShell/DeltaShell.Plugins.SharpMapGis.Gui/Forms/MapLegendView/VectorStyleTreeViewNodePresenter.cs (.../VectorStyleTreeViewNodePresenter.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) @@ -8,13 +8,9 @@ { public class VectorStyleTreeViewNodePresenter : TreeViewNodePresenterBaseForPluginGui { - public VectorStyleTreeViewNodePresenter(): base(null) - { - } + public VectorStyleTreeViewNodePresenter() : base(null) {} - public VectorStyleTreeViewNodePresenter(GuiPlugin guiPlugin) : base(guiPlugin) - { - } + public VectorStyleTreeViewNodePresenter(GuiPlugin guiPlugin) : base(guiPlugin) {} public override void UpdateNode(ITreeNode parentNode, ITreeNode node, VectorStyle style) { @@ -36,7 +32,10 @@ protected override void OnPropertyChanged(VectorStyle vectorStyle, ITreeNode node, PropertyChangedEventArgs e) { - if (node == null) return; + if (node == null) + { + return; + } UpdateNode(null, node, vectorStyle); } }