diff --git a/SimHubPlugin/SettingsControlDemo.xaml b/SimHubPlugin/SettingsControlDemo.xaml index dcc15359..0d829beb 100644 --- a/SimHubPlugin/SettingsControlDemo.xaml +++ b/SimHubPlugin/SettingsControlDemo.xaml @@ -357,10 +357,10 @@ - + - - @@ -490,13 +490,13 @@ - + - - + - - @@ -1492,7 +1492,7 @@ - @@ -1730,10 +1730,10 @@ - + - - @@ -1771,18 +1771,24 @@ - - - - - - - - - + + + + @@ -1963,10 +1969,10 @@ - - + This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. diff --git a/SimHubPlugin/SettingsControlDemo.xaml.cs b/SimHubPlugin/SettingsControlDemo.xaml.cs index 65e8de61..92dd5d9c 100644 --- a/SimHubPlugin/SettingsControlDemo.xaml.cs +++ b/SimHubPlugin/SettingsControlDemo.xaml.cs @@ -1802,6 +1802,15 @@ public void updateTheGuiFromConfig() Debug_check.IsChecked= false; debug_flag = Plugin.Settings.advanced_b; } + + if (Plugin.Settings.Serial_auto_clean_bridge) + { + Checkbox_auto_remove_serial_line_bridge.IsChecked = true; + } + else + { + Checkbox_auto_remove_serial_line_bridge.IsChecked = false; + } } }