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

Disable Create button for abstract classes #90807

Conversation

KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented Apr 17, 2024

When you click an abstract node and then click Create, nothing happens.
This PR makes the Create button disabled, so it's clear that you are not supposed to create this node.

@KoBeWi KoBeWi added this to the 4.3 milestone Apr 17, 2024
Copy link
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

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

Looks good.

@akien-mga
Copy link
Member

Should we set a tooltip on the disabled button to explain that this class is not instantiable?

@KoBeWi KoBeWi force-pushed the creating_this_thing_is_strictly_prohibited_in_13_states branch from 5df38c6 to c940793 Compare April 17, 2024 16:48
@KoBeWi
Copy link
Member Author

KoBeWi commented Apr 17, 2024

image

@akien-mga akien-mga merged commit 75e772c into godotengine:master Apr 17, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@KoBeWi KoBeWi deleted the creating_this_thing_is_strictly_prohibited_in_13_states branch April 17, 2024 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants