aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Touch/Controls
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-09-14 13:47:34 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-09-14 13:47:34 +0300
commit89ffc630471605c4757b5854af3d73b5b75e98d6 (patch)
treed83f1196b233560edd37d08d7d00810a7e6d5a32 /Software/Visual_Studio/Tango.Touch/Controls
parent0cfa44b16e412c7fbe1069d0cc83dfed486403b3 (diff)
downloadTango-89ffc630471605c4757b5854af3d73b5b75e98d6.tar.gz
Tango-89ffc630471605c4757b5854af3d73b5b75e98d6.zip
New thread loading wizard.
Diffstat (limited to 'Software/Visual_Studio/Tango.Touch/Controls')
-rw-r--r--Software/Visual_Studio/Tango.Touch/Controls/TouchPanel.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.Touch/Controls/TouchPanel.cs b/Software/Visual_Studio/Tango.Touch/Controls/TouchPanel.cs
index 9044b209f..1993e8cae 100644
--- a/Software/Visual_Studio/Tango.Touch/Controls/TouchPanel.cs
+++ b/Software/Visual_Studio/Tango.Touch/Controls/TouchPanel.cs
@@ -97,7 +97,10 @@ namespace Tango.Touch.Controls
{
try
{
- (CurrentDialog.DataContext as DialogViewVM).CloseCommand?.Execute(null);
+ if ((CurrentDialog.DataContext as DialogViewVM).CanClose)
+ {
+ (CurrentDialog.DataContext as DialogViewVM).CloseCommand?.Execute(null);
+ }
}
catch (Exception ex)
{