Minor tweak

This commit is contained in:
Travis Nickles 2017-11-06 01:56:48 -06:00
parent e5c124fecd
commit e0aaa37493

View File

@ -236,7 +236,7 @@ namespace DS4Windows
// New settings // New settings
this.Width = FormWidth; this.Width = FormWidth;
this.Height = FormHeight; this.Height = FormHeight;
this.Location = new Point(FormLocationX, FormLocationY); Location = new Point(FormLocationX, FormLocationY);
startMinimizedCheckBox.CheckedChanged -= startMinimizedCheckBox_CheckedChanged; startMinimizedCheckBox.CheckedChanged -= startMinimizedCheckBox_CheckedChanged;
startMinimizedCheckBox.Checked = StartMinimized; startMinimizedCheckBox.Checked = StartMinimized;
startMinimizedCheckBox.CheckedChanged += startMinimizedCheckBox_CheckedChanged; startMinimizedCheckBox.CheckedChanged += startMinimizedCheckBox_CheckedChanged;
@ -2181,8 +2181,8 @@ namespace DS4Windows
FormHeight = oldsize.Height; FormHeight = oldsize.Height;
} }
FormLocationX = this.Location.X; FormLocationX = Location.X;
FormLocationY = this.Location.Y; FormLocationY = Location.Y;
if (!string.IsNullOrEmpty(appdatapath)) if (!string.IsNullOrEmpty(appdatapath))
{ {