rage - on stop if there is no browser mode, then quit

there is no point hanging about stopped unless we have a browser, so
quit
This commit is contained in:
Carsten Haitzler 2015-12-13 00:02:54 +09:00
parent 803f4e8093
commit bd9af8405b
1 changed files with 1 additions and 0 deletions

View File

@ -115,6 +115,7 @@ key_handle(Evas_Object *win, Evas_Event_Key_Down *ev)
elm_layout_signal_emit(inf->lay, "action,stop", "rage");
elm_layout_signal_emit(inf->lay, "state,default", "rage");
if (inf->browse_mode) browser_show(win);
else evas_object_del(win);
}
else if (!strcmp(ev->keyname, "c"))
{