#10733: [BOptionPopUp] can crash when containing a SeparatorItem --------------------------------+------------------------------ Reporter: ttcoder | Owner: axeld Type: bug | Status: new Priority: normal | Milestone: R1 Component: Kits/Interface Kit | Version: R1/Development Keywords: | Blocked By: Blocking: | Has a Patch: 0 Platform: All | --------------------------------+------------------------------ BOptionPopUp does not provide explicit separator-item support, but it exposes `MenuField()->Menu()->AddSeparatorItem()` to do so. I used that to make a menu look better/more structured, but realized that all further calls to [http://cgit.haiku- os.org/haiku/tree/src/kits/interface/OptionPopUp.cpp#n100 GetOptionAt()] will crash, probably because unlike BMenuItem, SeparatorItem lacks a `Message()` field. -- Ticket URL: <https://dev.haiku-os.org/ticket/10733> Haiku <https://dev.haiku-os.org> Haiku - the operating system.