Asset Browser: Remove catalog deletion confirm prompt
This confirmation popup was added when deletion was a destructive action that would be written to disk immediately, with no way to undo. Now we only write such changes to disk on .blend file save, plus there's undo/redo support for catalog edits now. In such cases confirmation popups should be avoided.
This commit is contained in:
parent
b7b2103cf7
commit
30cd1d10a9
|
@ -450,7 +450,6 @@ static void ASSET_OT_catalog_delete(struct wmOperatorType *ot)
|
|||
|
||||
/* api callbacks */
|
||||
ot->exec = asset_catalog_delete_exec;
|
||||
ot->invoke = WM_operator_confirm;
|
||||
ot->poll = asset_catalog_operator_poll;
|
||||
|
||||
RNA_def_string(ot->srna, "catalog_id", nullptr, 0, "Catalog ID", "ID of the catalog to delete");
|
||||
|
|
Loading…
Reference in New Issue