Closed super7ramp closed 2 years ago
Recent file icon loading may fail e.g. because of missing read permission or other packaging issue.
Icon rescale code introduced by 5fc8d6c did not foresee this possibility.
Add a condition to prevent it from manipulating a non-ok icon.
This prevents assertion error although icon loading failure will still lead to an error message showed to user.
See #758.
Thanks for the fix! I should have caught this myself in review, but completely missed it too.
Recent file icon loading may fail e.g. because of missing read permission or other packaging issue.
Icon rescale code introduced by 5fc8d6c did not foresee this possibility.
Add a condition to prevent it from manipulating a non-ok icon.
This prevents assertion error although icon loading failure will still lead to an error message showed to user.
See #758.