Make sure we close the part / bed menu items before opening again

This commit is contained in:
Lars Brubaker 2018-02-02 14:35:01 -08:00
parent 748edd0bdf
commit 8fc6195a64

View file

@ -308,6 +308,7 @@ namespace MatterHackers.MatterControl
public FlowLayoutWidget CreateMenuItems(PopupMenu popupMenu, IEnumerable<NamedAction> menuActions)
{
// Create menu items in the DropList for each element in this.menuActions
popupMenu.CloseAllChildren();
foreach (var menuAction in menuActions)
{
if (menuAction.Title == "----")