Ephoto: Cancel cropping if back button is pressed.

This commit is contained in:
Stephen Houston 2015-03-03 15:13:45 -06:00
parent 6cce9a1e9e
commit 58a3f75615
1 changed files with 2 additions and 0 deletions

View File

@ -1251,6 +1251,8 @@ static void
_back(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ephoto_Single_Browser *sb = data;
if (sb->cropping)
_cancel_crop(sb, NULL, NULL);
evas_object_smart_callback_call(sb->main, "back", sb->entry);
}