diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-09-14 13:47:34 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-09-14 13:47:34 +0300 |
| commit | 89ffc630471605c4757b5854af3d73b5b75e98d6 (patch) | |
| tree | d83f1196b233560edd37d08d7d00810a7e6d5a32 /Software/Visual_Studio/Tango.Touch/Controls | |
| parent | 0cfa44b16e412c7fbe1069d0cc83dfed486403b3 (diff) | |
| download | Tango-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.cs | 5 |
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) { |
