mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-19 17:49:14 +00:00
UI: Translate Undo action "Delete Scene" and include scene name
This commit is contained in:
parent
07084de805
commit
4d647d8d15
|
@ -3769,8 +3769,9 @@ void OBSBasic::RemoveSelectedScene()
|
|||
obs_data_set_array(data, "array", array);
|
||||
obs_data_set_int(data, "index", ui->scenes->currentRow());
|
||||
|
||||
undo_s.add_action("Delete Scene", undo, redo, obs_data_get_json(data),
|
||||
obs_source_get_name(source));
|
||||
const char *scene_name = obs_source_get_name(source);
|
||||
undo_s.add_action(QTStr("Undo.Delete").arg(scene_name), undo, redo,
|
||||
obs_data_get_json(data), scene_name);
|
||||
|
||||
obs_data_array_release(array);
|
||||
obs_data_release(data);
|
||||
|
|
Loading…
Reference in a new issue