ui/ncurses: Defer item creation until boot editor is done
[petitboot] / ui / ncurses / ps3-main.c
index 5be8c3258a9477671322f8ffcc0418a028a8d8a7..9efba3bd8b5079122f24cffa7c81d42b1e18d3bb 100644 (file)
@@ -412,7 +412,7 @@ static struct pmenu *ps3_mm_init(struct ps3_cui *ps3_cui)
        }
 
        m->hot_key = ps3_hot_key;
-       m->on_open = cui_on_open;
+       m->on_new = cui_item_new;
 
 #if defined(DEBUG)
        m->scr.frame.title = talloc_strdup(m,