Skip to content

Commit 3ce6b87

Browse files
committed
Improve UI interaction for load the last used IP configuration
1 parent d1f4d76 commit 3ce6b87

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

IPConfig/ViewModels/MainViewModel.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,8 @@ private async Task LoadedAsync()
379379
private void LoadLastUsedIPv4Config()
380380
{
381381
LastUsedIPv4Config!.DeepCloneTo(SelectedNicIPConfig!.IPv4Config);
382-
SelectedNicIPConfigCheckedCommand.Execute(null);
382+
SelectedNicIPConfigChecked();
383+
GoBack();
383384
}
384385

385386
[RelayCommand(CanExecute = nameof(IsSelectedNicNotNull))]

0 commit comments

Comments
 (0)