Ephoto: Don't allow escape to return to the thumb view when the editor is open.
This commit is contained in:
parent
813471f9bd
commit
5b6826d785
|
@ -1951,7 +1951,7 @@ _ephoto_main_key_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNU
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!strcmp(k, "Escape") && !sb->editing)
|
if (!strcmp(k, "Escape") && !sb->editing && !sb->edit_main)
|
||||||
{
|
{
|
||||||
if (sb->event)
|
if (sb->event)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue