ajwillia-ms pushed a commit to branch master. http://git.enlightenment.org/tools/edi.git/commit/?id=6c714d19dafe9c93b8e99cbf83571fd737f1d275
commit 6c714d19dafe9c93b8e99cbf83571fd737f1d275 Author: Andy Williams <a...@andywilliams.me> Date: Sun Jun 18 19:18:21 2017 +0100 ui: don't allow menu to be added more than once This enu handling is just temporary but shouldn't be buggy :) --- src/bin/edi_main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bin/edi_main.c b/src/bin/edi_main.c index cca5358..1fe47f7 100644 --- a/src/bin/edi_main.c +++ b/src/bin/edi_main.c @@ -1060,6 +1060,10 @@ _edi_menu_setup(Evas_Object *win) { Evas_Object *menu; Elm_Object_Item *menu_it; + static Eina_Bool setup = EINA_FALSE; + + if (setup) return; + setup = EINA_TRUE; menu = elm_win_main_menu_get(win); --