aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.SharedUI/DialogViewVM.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2019-12-13 13:02:08 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2019-12-13 13:02:08 +0200
commitf1ef8138154ade048b7e2ff0aac31db5594d26b9 (patch)
treef40bf7fe6f9d1f35a9edc579e97c40ae13c1c77a /Software/Visual_Studio/Tango.SharedUI/DialogViewVM.cs
parent417462adb19c4489999087d8bb96e91ffeae3e65 (diff)
downloadTango-f1ef8138154ade048b7e2ff0aac31db5594d26b9.tar.gz
Tango-f1ef8138154ade048b7e2ff0aac31db5594d26b9.zip
Modified DIalogVieVM to allow OK with CanClose = false.
Diffstat (limited to 'Software/Visual_Studio/Tango.SharedUI/DialogViewVM.cs')
-rw-r--r--Software/Visual_Studio/Tango.SharedUI/DialogViewVM.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.SharedUI/DialogViewVM.cs b/Software/Visual_Studio/Tango.SharedUI/DialogViewVM.cs
index f740eab84..bf75fd6ef 100644
--- a/Software/Visual_Studio/Tango.SharedUI/DialogViewVM.cs
+++ b/Software/Visual_Studio/Tango.SharedUI/DialogViewVM.cs
@@ -24,7 +24,7 @@ namespace Tango.SharedUI
{
CanClose = true;
CloseCommand = new RelayCommand(Cancel, (x) => CanClose);
- OKCommand = new RelayCommand(Accept, (x) => CanClose && CanOK());
+ OKCommand = new RelayCommand(Accept, (x) => CanOK());
}
private bool _canClose;