aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.CircularGauge
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Tango.CircularGauge')
-rw-r--r--Software/Visual_Studio/Tango.CircularGauge/CircularGaugeControl.cs2
-rw-r--r--Software/Visual_Studio/Tango.CircularGauge/Properties/AssemblyInfo.cs2
2 files changed, 3 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.CircularGauge/CircularGaugeControl.cs b/Software/Visual_Studio/Tango.CircularGauge/CircularGaugeControl.cs
index 344308dac..a0b0cbc69 100644
--- a/Software/Visual_Studio/Tango.CircularGauge/CircularGaugeControl.cs
+++ b/Software/Visual_Studio/Tango.CircularGauge/CircularGaugeControl.cs
@@ -1141,6 +1141,8 @@ namespace Tango.CircularGauge
//Drawing the scale with the Scale Radius
private void DrawScale()
{
+ if (rootGrid == null) return;
+
try
{
foreach (var item in _toClear)
diff --git a/Software/Visual_Studio/Tango.CircularGauge/Properties/AssemblyInfo.cs b/Software/Visual_Studio/Tango.CircularGauge/Properties/AssemblyInfo.cs
index 774817e96..4188f3f04 100644
--- a/Software/Visual_Studio/Tango.CircularGauge/Properties/AssemblyInfo.cs
+++ b/Software/Visual_Studio/Tango.CircularGauge/Properties/AssemblyInfo.cs
@@ -5,7 +5,7 @@ using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("Tango - Circular Gauge Control")]
-[assembly: AssemblyVersion("2.0.9.1159")]
+[assembly: AssemblyVersion("2.0.10.1737")]
[assembly: ComVisible(false)]