Browse Source

UI: Fix Horizontal Center Text

The horizontal center redo/undo works, but uses the vertical center string.
Vainock 4 years ago
parent
commit
3267f76c15
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UI/window-basic-main.cpp

+ 1 - 1
UI/window-basic-main.cpp

@@ -7606,7 +7606,7 @@ void OBSBasic::on_actionHorizontalCenter_triggered()
 
 	std::string undo_data(obs_data_get_json(wrapper));
 	std::string redo_data(obs_data_get_json(rwrapper));
-	undo_s.add_action(QTStr("Undo.Transform.VCenter")
+	undo_s.add_action(QTStr("Undo.Transform.HCenter")
 				  .arg(obs_source_get_name(obs_scene_get_source(
 					  GetCurrentScene()))),
 			  undo_redo, undo_redo, undo_data, redo_data, NULL);