Closed tlambert03 closed 1 year ago
The proposed change simplifies the setText
method in a toggle button class. It enhances readability by directly setting the text instead of appending it to the existing one, without altering the method's behavior.
File | Summary |
---|---|
.../superqt/collapsible/_collapsible.py | The setText method of the toggle button class has been simplified. It now directly sets the text rather than appending it to the current text. This improves clarity and removes unnecessary code while maintaining the same functionality. |
Patch coverage: 100.00%
and project coverage change: -0.01%
:warning:
Comparison is base (
409d19e
) 87.30% compared to head (79555b0
) 87.30%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
fixes #203
not quite sure why that was like that ... might have been a combination of #140 not updating #37?
but i think it's fine just to remove it