You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix editor one-click icons not showing.
This commit is contained in:
@@ -425,8 +425,12 @@ bool EditorExportPlatformLinuxBSD::poll_export() {
|
||||
return menu_options != prev;
|
||||
}
|
||||
|
||||
Ref<ImageTexture> EditorExportPlatformLinuxBSD::get_option_icon(int p_index) const {
|
||||
return p_index == 1 ? stop_icon : EditorExportPlatform::get_option_icon(p_index);
|
||||
Ref<Texture2D> EditorExportPlatformLinuxBSD::get_option_icon(int p_index) const {
|
||||
if (p_index == 1) {
|
||||
return stop_icon;
|
||||
} else {
|
||||
return EditorExportPlatform::get_option_icon(p_index);
|
||||
}
|
||||
}
|
||||
|
||||
int EditorExportPlatformLinuxBSD::get_options_count() const {
|
||||
|
||||
Reference in New Issue
Block a user