UI: Implement a Clear Recent Files List Operator #116494

Merged
Harley Acheson merged 4 commits from Brainzman/blender:clear-recent-files into main 2024-01-03 21:26:24 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 8473de1a3a - Show all commits

View File

@ -207,7 +207,7 @@ static void recent_files_menu_draw(const bContext * /*C*/, Menu *menu)
RNA_boolean_set(&ptr, "display_file_selector", false);
}
uiItemS(layout);
uiItemO(layout, nullptr, ICON_NONE, "WM_OT_clear_recent_files");
uiItemO(layout, nullptr, ICON_TRASH, "WM_OT_clear_recent_files");
}
else {
uiItemL(layout, IFACE_("No Recent Files"), ICON_NONE);