Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix table import/export buttons with classic icons. #4269

Conversation

kwvanderlinde
Copy link
Collaborator

@kwvanderlinde kwvanderlinde commented Aug 30, 2023

Identify the Bug or Feature request

Fixes #4268

Description of the Change

Deliberately missing icons are now marked with a null value rather than an empty string. null is less likely to be interpreted as a real path (as "" was), and makes this case closer to the case where an icon set does not include an icon key at all. A slight tweak to RessourceManager.getFromHashMapsAndCache() makes the the two cases exactly equivalent.

Possible Drawbacks

None

Documentation Notes

N/A

Release Notes

  • Fixed a bug where the table Import and Export buttons did nothing when using the Classic icon theme.

This change is Reviewable

The previous empty string was being interpreted as a real path pointing to the resource directory. Using `null` makes it
clear that it is not a path, and the resource manager already easily handles that case.
@cwisniew cwisniew added this pull request to the merge queue Aug 30, 2023
@cwisniew cwisniew added the bug label Aug 30, 2023
Merged via the queue into RPTools:develop with commit 35b62ea Aug 31, 2023
4 checks passed
@kwvanderlinde kwvanderlinde deleted the bugfix/4268-fix-error-on-missing-classic-icons branch August 31, 2023 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

[Bug]: Table import and export buttons are broken due to missing classic icons.
2 participants