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

Enable/disable delete button depending if a blueprint or a template is selected or not in blueprint library #1734

Merged
merged 1 commit into from May 7, 2014
Merged

Conversation

tambry
Copy link
Contributor

@tambry tambry commented May 7, 2014

No need to keep delete button enabled. A small enhancement.

@SpaceToad SpaceToad added this to the BuildCraft 6.0.11 milestone May 7, 2014
@SpaceToad SpaceToad merged commit 821ab3a into BuildCraft:6.0.x May 7, 2014
@SpaceToad
Copy link
Member

Looks reasonable. Merged :-)

@ghost
Copy link

ghost commented May 7, 2014

There is a formatting error which causes the code to not compile... I can PR a fix if you want.

@tambry
Copy link
Contributor Author

tambry commented May 7, 2014

@ninehous What's the formatting error?

@tambry tambry deleted the blueprintlibrarydisabledelete branch May 7, 2014 19:31
protected void checkDelete() {
if (library.selected != -1) {
deleteButton.enabled = true;
}
Copy link

Choose a reason for hiding this comment

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

It's here. Checkstyle says that the } in line 153 should be in the same line with the else statement.

@tambry
Copy link
Contributor Author

tambry commented May 7, 2014

@ninehous Yes PR it, please.

@ghost ghost mentioned this pull request May 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Something small that would improve buildcraft
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants