From 9afe69ffef37a75b6d0f9faa9243dd4111a86d71 Mon Sep 17 00:00:00 2001
From: spherallic <spherallic@gmail.com>
Date: Wed, 22 Mar 2023 20:31:46 +0100
Subject: [PATCH] Paste Properties window: highlight OK by default instead of
 Cancel

---
 .../Interface/PastePropertiesOptionsForm.Designer.cs | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/Source/Plugins/BuilderModes/Interface/PastePropertiesOptionsForm.Designer.cs b/Source/Plugins/BuilderModes/Interface/PastePropertiesOptionsForm.Designer.cs
index 795b30be..e13d6f30 100644
--- a/Source/Plugins/BuilderModes/Interface/PastePropertiesOptionsForm.Designer.cs
+++ b/Source/Plugins/BuilderModes/Interface/PastePropertiesOptionsForm.Designer.cs
@@ -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;
-- 
GitLab