Mono: Fix build status icons

(cherry picked from commit 8bd05f0c71)
This commit is contained in:
Ignacio Etcheverry 2018-02-17 18:12:00 +01:00 committed by Hein-Pieter van Braam
parent 9cba5ef772
commit 2abbdcaa20
1 changed files with 3 additions and 5 deletions

View File

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