Skip to content

Commit ec0ea14

Browse files
committed
Close #162
1 parent edc75d5 commit ec0ea14

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

Source/NETworkManager/ViewModels/NetworkInterfaceViewModel.cs

+4-9
Original file line numberDiff line numberDiff line change
@@ -790,19 +790,14 @@ public async void OpenNetworkConnectionsAction()
790790
}
791791
}
792792

793-
public ICommand ApplyNetworkInterfaceConfigCommand
793+
public ICommand ApplyConfigCommand
794794
{
795-
get { return new RelayCommand(p => ApplyNetworkInterfaceConfigAction()); }
795+
get { return new RelayCommand(p => ApplyConfigAction()); }
796796
}
797797

798-
public void ApplyNetworkInterfaceConfigAction()
798+
public void ApplyConfigAction()
799799
{
800-
ApplyNetworkInterfaceConfig();
801-
}
802-
803-
private void ApplyNetworkInterfaceConfig()
804-
{
805-
throw new NotImplementedException();
800+
ApplyConfig();
806801
}
807802

808803
public ICommand ApplyProfileConfigCommand

Source/NETworkManager/Views/NetworkInterfaceView.xaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@
641641
</mah:DropDownButton.Items>
642642
</mah:DropDownButton>
643643
</StackPanel>
644-
<Button Grid.Column="1" Command="{Binding ApplyNetworkInterfaceConfigCommand}">
644+
<Button Grid.Column="1" Command="{Binding ApplyConfigCommand}">
645645
<Button.Content>
646646
<Grid>
647647
<Grid.ColumnDefinitions>

0 commit comments

Comments
 (0)