Skip to content

Conversation

apooreapo
Copy link
Contributor

self.setProperty('hasIcon', icon is not None) will result into setting hasIcon = False when icon = QIcon()

This can cause position issues when setting QIcon to None using setIcon(QIcon)

self.setProperty('hasIcon', icon is not None) will result into setting hasIcon = False when icon = QIcon()

This can cause position issues when setting QIcon to None using setIcon(QIcon)
@zhiyiYo zhiyiYo closed this Sep 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants