File tree Expand file tree Collapse file tree 4 files changed +5
-35
lines changed
Expand file tree Collapse file tree 4 files changed +5
-35
lines changed Original file line number Diff line number Diff line change 11using System . Collections ;
2- using System . Collections . Concurrent ;
32using System . ComponentModel ;
43using System . Runtime . CompilerServices ;
54using System . Text ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 170170 DefaultText='Specifies the duration of the fade-out animation in milliseconds.'}" />
171171
172172 <!-- Row 4 ; Column 0-1 -->
173-
174173 <Expander
175174 Grid.Row=" 4"
176175 Grid.ColumnSpan=" 2"
Original file line number Diff line number Diff line change @@ -94,7 +94,11 @@ private static int Main_Impl(string[] args)
9494#else
9595 Settings = new ( "VolumeControl.json" ) ;
9696#endif
97- Settings . Load ( ) ;
97+
98+ if ( args . Contains ( "--reset-config" ) )
99+ Settings . Save ( ) ; //< reset the config by overwriting it with the default settings
100+ else
101+ Settings . Load ( ) ; //< load the previous config
98102 Settings . AttachReflectivePropertyChangedHandlers ( ) ;
99103
100104 // Multi instance gate
You can’t perform that action at this time.
0 commit comments