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

Added a function setTitle that allows you to set the title after having ... #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kristoffer-sundstrom
Copy link

...initialized the selectlist.

At first I built this abusing the structure of the SelectList, but the code became unbearable to look at.

So I decided to add another function to the selectlist called setTitle.
setTitle inserts a new title-option if none exists and changes the value of it if it exists.

I considered doing this as a setOptions-parameter, but I decided against it because titles aren't instantiated that way to begin with.

And I'm sorry about the formatting, I'm still pretty new to branching other people's projects.

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.

1 participant