mirror of https://github.com/koreader/koreader
SortWidget: Preserve the cancel's button highlight when changing its icon
setIcon recreates the frame without preserving the current frame's invert status (which is arguably a bug, but button is so ubuquitous that I dare not touch that behavior...). So, instead, rely on the rarely used preselect flag to preserve it.reviewable/pr12372/r1
parent
c21ad4edcc
commit
cfd42254ac
Loading…
Reference in New Issue