We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 852c90f commit 746dd8bCopy full SHA for 746dd8b
IPConfig/ViewModels/IPConfigDetailViewModel.cs
@@ -399,7 +399,7 @@ private void Apply()
399
}
400
401
FormatInput();
402
- Validate(false);
+ EditingIPConfig.ValidateAllProperties();
403
404
string msg = Lang.ApplyAsk_Format.Format(_nic.Name, _nic.Description);
405
@@ -624,15 +624,10 @@ private void TryAutoCompleteGateway()
624
625
626
[RelayCommand]
627
- private void Validate(bool showGrowl = true)
+ private void Validate()
628
{
629
EditingIPConfig.ValidateAllProperties();
630
631
- if (!showGrowl)
632
- {
633
- return;
634
- }
635
-
636
if (EditingIPConfig.HasErrors)
637
638
Growl.Error(Lang.ValidationError);
0 commit comments