diff --git a/MainWindow.xaml b/MainWindow.xaml index bc07830..d3fd1cc 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -33,7 +33,7 @@ - + diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs index 64aa7da..b533d31 100644 --- a/MainWindow.xaml.cs +++ b/MainWindow.xaml.cs @@ -47,7 +47,7 @@ private DynamicInputPackViewModel InputPack private string _saved_document = null; private Window _edit_emulated_devices_window; - private Window _edit_host_devices_window; + private Window _edit_default_host_devices_window; private Window _edit_metadata_window; private void ExportToLocation_Click(object sender, RoutedEventArgs e) @@ -65,13 +65,13 @@ private void QuitProgram_Click(object sender, RoutedEventArgs e) this.Close(); } - private void EditHostDevices_Click(object sender, RoutedEventArgs e) + private void EditDefaultHostDevices_Click(object sender, RoutedEventArgs e) { - _edit_host_devices_window?.Close(); + _edit_default_host_devices_window?.Close(); - _edit_host_devices_window = new Window + _edit_default_host_devices_window = new Window { - Title = "Editing Host Devices", + Title = "Editing Default Host Devices", Icon = (ImageSource)FindResource("Image.HostDevices"), ResizeMode = ResizeMode.CanResize, SizeToContent = SizeToContent.Manual, @@ -81,7 +81,7 @@ private void EditHostDevices_Click(object sender, RoutedEventArgs e) }; UpdateEditWindows(); - _edit_host_devices_window.Show(); + _edit_default_host_devices_window.Show(); } private void EditEmulatedDevices_Click(object sender, RoutedEventArgs e) @@ -255,10 +255,10 @@ private void UpdateEditWindows() _edit_emulated_devices_window.Content = user_control; } - if (_edit_host_devices_window != null) + if (_edit_default_host_devices_window != null) { var user_control = new Controls.EditHostDevices { DataContext = new HostDeviceKeyViewModel { HostDevices = InputPack.HostDevices } }; - _edit_host_devices_window.Content = user_control; + _edit_default_host_devices_window.Content = user_control; } if (_edit_metadata_window != null)