path: root/ui/common
diff options
authorJeremy Kerr <>2013-10-10 15:35:35 +0800
committerJeremy Kerr <>2013-10-10 16:08:54 +0800
commit6d1eff1e8e1db12e7aa179e8dc9c65050c045536 (patch)
tree18f70566adb3c146840f7964c8877b51a1cefde0 /ui/common
parent97c5d1f5d56d9ce890b4896ad7a9dc7ece7d4347 (diff)
ui/ncurses: Defer item creation until boot editor is done
Currently, when creating new menu entries, we create an empty item, add it to the menu, then run the boot editor. This means that cancelling the edit will leave an empty item in the menu. This change defers the creation until the boot editor is done. To do this, we modify the on_open callback to take a menu rather than an item, and pass NULL boot data to the editor. Signed-off-by: Jeremy Kerr <>
Diffstat (limited to 'ui/common')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud