diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2019-12-13 13:02:08 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2019-12-13 13:02:08 +0200 |
| commit | f1ef8138154ade048b7e2ff0aac31db5594d26b9 (patch) | |
| tree | f40bf7fe6f9d1f35a9edc579e97c40ae13c1c77a /Software/Visual_Studio/Tango.SharedUI/DialogViewVM.cs | |
| parent | 417462adb19c4489999087d8bb96e91ffeae3e65 (diff) | |
| download | Tango-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.cs | 2 |
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; |
