Skip to content

Commit

Permalink
Removed traces of .xml support
Browse files Browse the repository at this point in the history
  • Loading branch information
nimrof committed Jul 16, 2024
1 parent cccc07d commit 1a1ebf5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions EDSEditorGUI/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ private void loadprofiles()
foreach (string file in profilelist)
{
string ext = Path.GetExtension(file).ToLower();
if (ext == ".xml" || ext == ".xpd" || ext == ".xdd")
if (ext == ".xpd" || ext == ".xdd")
{
item = new ToolStripMenuItem();
item.Name = Path.GetFileName(file);
Expand Down Expand Up @@ -116,11 +116,10 @@ void ProfileAddClick(object sender, EventArgs e)
if (item.Name == "///openFile")
{
OpenFileDialog odf = new OpenFileDialog();
odf.Filter = "All supported files (*.xpd;*.xdd;*.xdc;*.xml)|*.xpd;*.xdd;*.xdc;*.xml|"
odf.Filter = "All supported files (*.xpd;*.xdd;*.xdc)|*.xpd;*.xdd;*.xdc|"
+ "CANopen XPD 1.1 (*.xpd)|*.xpd|"
+ "CANopen XDD 1.1 (*.xdd)|*.xdd|"
+ "CANopen XDC 1.1 (*.xdc)|*.xdc|"
+ "CANopenNode XML, old (*.xml)|*.xml";
+ "CANopen XDC 1.1 (*.xdc)|*.xdc";

if (odf.ShowDialog() != DialogResult.OK)
return;
Expand Down

0 comments on commit 1a1ebf5

Please sign in to comment.