Workspaces: move delete to right click menu, instead of X on tab.
These are not intended to be closed as often as e.g. browser tabs, they are intended to be more persistent and accidental closing should be avoided.
This commit is contained in:
		@@ -787,7 +787,7 @@ void RNA_api_ui_layout(StructRNA *srna)
 | 
			
		||||
	api_ui_item_rna_common(func);
 | 
			
		||||
	RNA_def_string(func, "new", NULL, 0, "", "Operator identifier to create a new ID block");
 | 
			
		||||
	RNA_def_string(func, "open", NULL, 0, "", "Operator identifier to open a file for creating a new ID block");
 | 
			
		||||
	RNA_def_string(func, "unlink", NULL, 0, "", "Operator identifier to unlink the ID block");
 | 
			
		||||
	RNA_def_string(func, "menu", NULL, 0, "", "Context menu identifier");
 | 
			
		||||
	RNA_def_enum(func, "filter", id_template_filter_items, UI_TEMPLATE_ID_FILTER_ALL,
 | 
			
		||||
	             "", "Optionally limit the items which can be selected");
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user