aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/Controls
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-07-02 17:12:24 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-07-02 17:12:24 +0300
commit327fe90a471c74a5723258ccbda7d9ade064b50c (patch)
treefeacfea337e41747e8b1f3c036be054e50745811 /Software/Visual_Studio/PPC/Tango.PPC.Common/Controls
parent64dde680dcf7cb0c3876aea32134c3324459e94e (diff)
downloadTango-327fe90a471c74a5723258ccbda7d9ade064b50c.tar.gz
Tango-327fe90a471c74a5723258ccbda7d9ade064b50c.zip
Implemented Twine catalog recent colors!
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Controls')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/Controls/TwineCatalogControl.xaml.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Controls/TwineCatalogControl.xaml.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Controls/TwineCatalogControl.xaml.cs
index d28bbff72..024f47f58 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Controls/TwineCatalogControl.xaml.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Controls/TwineCatalogControl.xaml.cs
@@ -77,6 +77,8 @@ namespace Tango.PPC.Common.Controls
private void TouchSlider_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e)
{
+ if (_catalog.Groups.Count == 0) return;
+
if (!_preventChange)
{
if (_catalog != null)