Skip to content

list-view: Make clicking on star work again

António Fernandes requested to merge antoniof/zero_press_event into master

Clicking on the star icon would toggle the starred status in ver. 3.28 This regressed in commit 3a7ebc2b

The old code logic reset the click_count to 0 when it was actually 1. n_press resets to 1 so this broke the " <= 0 " condition.

Anyway, we don't need to look at n_press because it is implicit in the is_simple_click boolean.

Fixes #761 (closed)

Merge request reports