File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 99 <SelfContained >false</SelfContained >
1010 <UseWPF >true</UseWPF >
1111 <AllowUnsafeBlocks >True</AllowUnsafeBlocks >
12- <Version >2.8.0 </Version >
12+ <Version >2.8.1 </Version >
1313 <ImplicitUsings >enable</ImplicitUsings >
1414 <SatelliteResourceLanguages >zh-Hans;en-us</SatelliteResourceLanguages >
1515 <ApplicationIcon >Icon.ico</ApplicationIcon >
Original file line number Diff line number Diff line change @@ -54,6 +54,10 @@ public NetSpeedPageVM()
5454
5555 LoadSetting ( ) ;
5656 NetSpeedSelectItemVM = NetSpeedItems . FirstOrDefault ( i => i . InterfaceName == LastAdapterName ) ;
57+ if ( NetSpeedSelectItemVM == null )
58+ {
59+ NetSpeedSelectItemVM = NetSpeedItems . FirstOrDefault ( ) ;
60+ }
5761 NetSpeedSelectItemVM . SpeedAction += NetSpeedPlot . OnSpeedChange ;
5862
5963 if ( ShowSmallWnd )
Original file line number Diff line number Diff line change 88 xmlns : mc =" http://schemas.openxmlformats.org/markup-compatibility/2006"
99 xmlns : myuc =" clr-namespace:One.Toolbox.MyUserControl"
1010 xmlns : vms =" clr-namespace:One.Toolbox.ViewModels.Setting"
11- d : DataContext =" {d:DesignInstance Type=vms:SettingsVM }"
11+ d : DataContext =" {d:DesignInstance Type=vms:SettingsPageVM }"
1212 d : Height =" 548"
1313 d : Width =" 733"
1414 mc : Ignorable =" d" >
You can’t perform that action at this time.
0 commit comments