Ephoto: Don't switch directory when genlist is clicked but an item is not (i.e.. scrolling)
This commit is contained in:
parent
5b6826d785
commit
4ca10ed862
|
@ -604,17 +604,6 @@ _fsel_mouse_up_cb(void *data, Evas *e EINA_UNUSED,
|
|||
_on_list_selected(db, NULL, item);
|
||||
}
|
||||
}
|
||||
else if (!item)
|
||||
{
|
||||
Elm_Object_Item *it;
|
||||
|
||||
it = elm_genlist_selected_item_get(db->fsel);
|
||||
if (it)
|
||||
elm_genlist_item_selected_set(it, EINA_FALSE);
|
||||
ephoto_directory_set(db->ephoto, db->ephoto->top_directory, NULL, 0, 1);
|
||||
ephoto_title_set(db->ephoto, db->ephoto->top_directory);
|
||||
}
|
||||
|
||||
if (info->button != 3)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue