File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ public void LoadSettings()
4040 if ( ctrl . Name . StartsWith ( "NumericUpDown" ) )
4141 {
4242 NumericUpDown nupdown = ctrl as NumericUpDown ;
43- nupdown . Value = Convert . ToDecimal ( configitem . Value ) ;
43+ nupdown . Value = Math . Min ( Convert . ToDecimal ( configitem . Value ) , nupdown . Maximum ) ;
4444 }
4545 if ( ctrl . Name . StartsWith ( "Checkbox" ) )
4646 {
Original file line number Diff line number Diff line change 3232// You can specify all the values or you can default the Build and Revision Numbers
3333// by using the '*' as shown below:
3434// [assembly: AssemblyVersion("1.0.*")]
35- [ assembly: AssemblyVersion ( "1.7.1 " ) ]
36- [ assembly: AssemblyFileVersion ( "1.7.1 " ) ]
35+ [ assembly: AssemblyVersion ( "1.7.2 " ) ]
36+ [ assembly: AssemblyFileVersion ( "1.7.2 " ) ]
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ public void Load(bool reset = false)
4545 settings = DeserializeIni ( FilePath ) ;
4646
4747
48- if ( settings . Appversion != "1.7.0 " )
48+ if ( settings . Appversion != "1.7.2 " )
4949 {
5050 SettingsModel defaults = DeserializeIniFromString ( Resources . nppRandomStringGeneratorSettings ) ;
5151
@@ -57,7 +57,7 @@ public void Load(bool reset = false)
5757 }
5858 }
5959 settings . Appname = "nppRandomStringGenerator" ;
60- settings . Appversion = "1.7.0 " ;
60+ settings . Appversion = "1.7.2 " ;
6161 }
6262 }
6363 catch ( Exception ex )
Original file line number Diff line number Diff line change 11appname =nppRandomStringGenerator
2- appversion =1.7.0
2+ appversion =1.7.2
33NumericUpDownLength =32
44NumericUpDownQuantity =8
55CheckboxNumbers =true
You can’t perform that action at this time.
0 commit comments