Revert "Fix delete button in the search screen"
This reverts commit b4f2ddf585
.
This commit is contained in:
parent
1b5f6b2dc0
commit
d0732c1f92
@ -2321,7 +2321,7 @@ int search_ui(pixel *vid_buf)
|
||||
lasttime = TIMEOUT;
|
||||
}
|
||||
|
||||
if(b && !bq && dp!=-1 && search_fav==0)
|
||||
if(b && !bq && dp!=-1 && search_fav!=0)
|
||||
if(confirm_ui(vid_buf, "Do you want to delete?", search_names[dp], "Delete"))
|
||||
{
|
||||
execute_delete(vid_buf, search_ids[dp]);
|
||||
|
Loading…
Reference in New Issue
Block a user