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

modify NSComboBox to handle attributed strings #314

Merged

Conversation

williameveretteggplant
Copy link
Contributor

Currently NSComboBox when provided with an attributed string will display the description of an attributed string rather than the string value. The mac implementation displays the string value. This brings it into alignment with that implementation.

if (object)
{
// Check for attributed string type and return actual string instead..
if ([object isKindOfClass :[NSAttributedString class]])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please move the colon to the method name, not the argument?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@fredkiefer fredkiefer merged commit c71f9dd into gnustep:master Nov 4, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants