v1cont / yad

Yet Another Dialog
GNU General Public License v3.0
657 stars 58 forks source link

Inconsitency in list.c #139

Open phenixia2003 opened 3 years ago

phenixia2003 commented 3 years ago

Hello,

In del_row_cb(), when options.list_data.row_action is set, the selected row is deleted only when row_action returns 0. But, in add_row_cb(), a new row is always added regardless the value returned by row_action.

The attached patch solves this.

add_row_cb.patch.txt

-- SeB