mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 18:54:43 +00:00
Fix editor one-click icons not showing.
This commit is contained in:
parent
71a9948157
commit
e407f55fbf
16 changed files with 56 additions and 23 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue