summaryrefslogtreecommitdiff
path: root/mwidget.mod
diff options
context:
space:
mode:
Diffstat (limited to 'mwidget.mod')
-rw-r--r--mwidget.mod/mwidget.bmx2
1 files changed, 1 insertions, 1 deletions
diff --git a/mwidget.mod/mwidget.bmx b/mwidget.mod/mwidget.bmx
index 90d3d6f..c0b7521 100644
--- a/mwidget.mod/mwidget.bmx
+++ b/mwidget.mod/mwidget.bmx
@@ -2124,7 +2124,7 @@ Type TMMenu
bbdoc: Clear all items from the menu
EndRem
Method Clear()
- For Local m:TMenuItem=EachIn map
+ For Local m:TMenuItem=EachIn TMapEnumerator(MapValues(map))
FreeMenu(m.gadget)
Static.DeregisterMenuItem(m)
Next