diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/fpg_menu.pas | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/fpg_menu.pas b/src/gui/fpg_menu.pas index da357640..f7af611d 100644 --- a/src/gui/fpg_menu.pas +++ b/src/gui/fpg_menu.pas @@ -796,7 +796,8 @@ begin op := op.OpenerPopup; end; // notify menubar that we clicked a menu item - OpenerMenuBar.InternalReset; + if Assigned(OpenerMenuBar) then + OpenerMenuBar.InternalReset; VisibleItem(FFocusItem).Click; FFocusItem := -1; end; { if/else } |