Show automatic view flip decider first.

This commit is contained in:
AJ
2021-03-24 06:47:46 -04:00
parent e39b7292cb
commit 4fe7e0e8d7
2 changed files with 10 additions and 4 deletions

View File

@@ -24,8 +24,8 @@
<UpdateRequired>false</UpdateRequired> <UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions> <MapFileExtensions>true</MapFileExtensions>
<PublisherName>Rogers Engineering</PublisherName> <PublisherName>Rogers Engineering</PublisherName>
<ApplicationRevision>0</ApplicationRevision> <ApplicationRevision>1</ApplicationRevision>
<ApplicationVersion>1.2.2.%2a</ApplicationVersion> <ApplicationVersion>1.2.3.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust> <UseApplicationTrust>false</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted> <PublishWizardCompleted>true</PublishWizardCompleted>
<BootstrapperEnabled>true</BootstrapperEnabled> <BootstrapperEnabled>true</BootstrapperEnabled>

View File

@@ -40,8 +40,6 @@ namespace ExportDXF.Forms
comboBox1.DataSource = GetItems(); comboBox1.DataSource = GetItems();
comboBox1.DisplayMember = "Name"; comboBox1.DisplayMember = "Name";
//viewFlipDecider = new AskViewFlipDecider();
} }
protected override void OnLoad(EventArgs e) 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; return items;
} }