mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2025-01-31 05:00:34 +00:00
Fixed: some stored window settings were incorrectly restored from the program configuration.
This commit is contained in:
parent
c919c250f7
commit
c334888621
1 changed files with 4 additions and 2 deletions
|
@ -36,7 +36,7 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
{
|
||||
// Variables
|
||||
private Timer formshowtimer;
|
||||
protected string configname; //mxd
|
||||
protected readonly string configname; //mxd
|
||||
|
||||
// Constructor
|
||||
protected DelayedForm()
|
||||
|
@ -47,6 +47,9 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
this.KeyPreview = true;
|
||||
this.KeyUp += OnKeyUp;
|
||||
}
|
||||
|
||||
//mxd
|
||||
configname = this.GetType().Name.ToLowerInvariant();
|
||||
|
||||
// Create a timer that we need to show the form
|
||||
formshowtimer = new Timer { Interval = 1 };
|
||||
|
@ -58,7 +61,6 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
{
|
||||
//mxd. Restore location and size
|
||||
this.SuspendLayout();
|
||||
configname = this.Name.ToLowerInvariant();
|
||||
|
||||
// Restore location
|
||||
Point validlocation = Point.Empty;
|
||||
|
|
Loading…
Reference in a new issue