Merge pull request #16780 from neikeq/mono-fix-build-icons

Mono: Fix build status icons
This commit is contained in:
Rémi Verschelde 2018-02-17 19:02:58 +01:00 committed by GitHub
commit 3cdca984e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -335,16 +335,14 @@ void MonoBuildTab::_update_issues_list() {
Ref<Texture> MonoBuildTab::get_icon_texture() const {
// FIXME these icons were removed... find something better
if (build_exited) {
if (build_result == RESULT_ERROR) {
return get_icon("DependencyChangedHl", "EditorIcons");
return get_icon("StatusError", "EditorIcons");
} else {
return get_icon("DependencyOkHl", "EditorIcons");
return get_icon("StatusSuccess", "EditorIcons");
}
} else {
return get_icon("GraphTime", "EditorIcons");
return get_icon("Stop", "EditorIcons");
}
}