Make sure we close the part / bed menu items before opening again
This commit is contained in:
parent
748edd0bdf
commit
8fc6195a64
1 changed files with 1 additions and 0 deletions
|
|
@ -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 == "----")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue