Add icon for Inspector dock context menu Show in FileSystem item

This commit is contained in:
ev13bird 2024-10-08 02:09:53 +11:00
parent db66bd35af
commit ac77c95ee1

View File

@ -436,6 +436,7 @@ void InspectorDock::_notification(int p_what) {
PopupMenu *resource_extra_popup = resource_extra_button->get_popup();
resource_extra_popup->set_item_icon(resource_extra_popup->get_item_index(RESOURCE_EDIT_CLIPBOARD), get_editor_theme_icon(SNAME("ActionPaste")));
resource_extra_popup->set_item_icon(resource_extra_popup->get_item_index(RESOURCE_COPY), get_editor_theme_icon(SNAME("ActionCopy")));
resource_extra_popup->set_item_icon(resource_extra_popup->get_item_index(RESOURCE_SHOW_IN_FILESYSTEM), get_editor_theme_icon(SNAME("ShowInFileSystem")));
if (is_layout_rtl()) {
backward_button->set_icon(get_editor_theme_icon(SNAME("Forward")));