Paste Properties window: highlight OK by default instead of Cancel

This commit is contained in:
spherallic 2023-03-22 20:31:46 +01:00
parent 1bee59a364
commit 9afe69ffef

View file

@ -52,9 +52,9 @@
//
// tabcontrol
//
this.tabcontrol.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.tabcontrol.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.tabcontrol.Controls.Add(this.sectors);
this.tabcontrol.Controls.Add(this.linedefs);
this.tabcontrol.Controls.Add(this.sidedefs);
@ -190,7 +190,7 @@
this.cancel.Location = new System.Drawing.Point(330, 194);
this.cancel.Name = "cancel";
this.cancel.Size = new System.Drawing.Size(112, 25);
this.cancel.TabIndex = 0;
this.cancel.TabIndex = 1;
this.cancel.Text = "Cancel";
this.cancel.UseVisualStyleBackColor = true;
this.cancel.Click += new System.EventHandler(this.cancel_Click);
@ -201,7 +201,7 @@
this.apply.Location = new System.Drawing.Point(212, 194);
this.apply.Name = "apply";
this.apply.Size = new System.Drawing.Size(112, 25);
this.apply.TabIndex = 1;
this.apply.TabIndex = 0;
this.apply.Text = "OK";
this.apply.UseVisualStyleBackColor = true;
this.apply.Click += new System.EventHandler(this.apply_Click);
@ -232,7 +232,7 @@
this.MinimizeBox = false;
this.MinimumSize = new System.Drawing.Size(300, 200);
this.Name = "PastePropertiesOptionsForm";
this.Opacity = 0;
this.Opacity = 0D;
this.ShowIcon = false;
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;