Skip to content

Commit

Permalink
Fixup #182 (menus not populating on Linux) (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonko0493 committed Jun 14, 2023
1 parent 207ad24 commit eb0b038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SerialLoops/MainForm.eto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ private void InitializeProjectMenu()
};

// Add project items to existing File menu
if (Menu.Items.FirstOrDefault(x => x.Text == "&File") is SubMenuItem fileMenu)
if (Menu.Items.FirstOrDefault(x => x.Text.Contains("File")) is SubMenuItem fileMenu)
{
fileMenu.Items.AddRange(new[] { saveProject, projectSettings, migrateProject, exportPatch, closeProject });
}
Expand Down

0 comments on commit eb0b038

Please sign in to comment.