submenu on separator crashes
Original Reporter info from Mantis: BeniBela @benibela
-
Reporter name: Benito van der Zander
Original Reporter info from Mantis: BeniBela @benibela
- Reporter name: Benito van der Zander
Description:
If you create a menuitem that is a separator and has a submenu, the program crashes, if the menu is opened.
Steps to reproduce:
Right-click on the form:
object Form1: TForm1
Left = 376
Height = 240
Top = 338
Width = 320
Caption = 'Form1'
PopupMenu = PopupMenu1
LCLVersion = '1.1'
object PopupMenu1: TPopupMenu
left = 143
top = 61
object MenuItem1: TMenuItem
Caption = '-'
object MenuItem2: TMenuItem
Caption = 'New Item2'
end
end
end
end
Mantis conversion info:
- Mantis ID: 24476
- Build: Lazarus 1.1 r40899M FPC 2.6.2 x8
- Version: 1.1 (SVN)