From 4fe7e0e8d7cbc0de026f7deb723207942e3f55fd Mon Sep 17 00:00:00 2001 From: AJ Date: Wed, 24 Mar 2021 06:47:46 -0400 Subject: [PATCH] Show automatic view flip decider first. --- ExportDXF/ExportDXF.csproj | 4 ++-- ExportDXF/Forms/MainForm.cs | 10 ++++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ExportDXF/ExportDXF.csproj b/ExportDXF/ExportDXF.csproj index aa925a2..820bf27 100644 --- a/ExportDXF/ExportDXF.csproj +++ b/ExportDXF/ExportDXF.csproj @@ -24,8 +24,8 @@ false true Rogers Engineering - 0 - 1.2.2.%2a + 1 + 1.2.3.%2a false true true diff --git a/ExportDXF/Forms/MainForm.cs b/ExportDXF/Forms/MainForm.cs index 14acbc7..223d830 100644 --- a/ExportDXF/Forms/MainForm.cs +++ b/ExportDXF/Forms/MainForm.cs @@ -40,8 +40,6 @@ namespace ExportDXF.Forms comboBox1.DataSource = GetItems(); comboBox1.DisplayMember = "Name"; - - //viewFlipDecider = new AskViewFlipDecider(); } protected override void OnLoad(EventArgs e) @@ -84,6 +82,14 @@ namespace ExportDXF.Forms }); } + var automatic = items.FirstOrDefault(i => i.Name == "Automatic"); + + if (automatic != null) + { + items.Remove(automatic); + items.Insert(0, automatic); + } + return items; }