You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Fix various typos
* Add TODO notes for typos that should be fixed for 5.0 Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
This commit is contained in:
@@ -85,7 +85,7 @@ void TileProxiesManagerDialog::_delete_selected_bindings() {
|
||||
undo_redo->add_undo_method(this, "_update_lists");
|
||||
undo_redo->commit_action();
|
||||
|
||||
commited_actions_count += 1;
|
||||
committed_actions_count += 1;
|
||||
}
|
||||
|
||||
void TileProxiesManagerDialog::_update_lists() {
|
||||
@@ -191,7 +191,7 @@ void TileProxiesManagerDialog::_add_button_pressed() {
|
||||
undo_redo->add_do_method(this, "_update_lists");
|
||||
undo_redo->add_undo_method(this, "_update_lists");
|
||||
undo_redo->commit_action();
|
||||
commited_actions_count++;
|
||||
committed_actions_count++;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -306,10 +306,10 @@ void TileProxiesManagerDialog::_unhandled_key_input(Ref<InputEvent> p_event) {
|
||||
|
||||
void TileProxiesManagerDialog::cancel_pressed() {
|
||||
EditorUndoRedoManager *undo_redo = EditorUndoRedoManager::get_singleton();
|
||||
for (int i = 0; i < commited_actions_count; i++) {
|
||||
for (int i = 0; i < committed_actions_count; i++) {
|
||||
undo_redo->undo();
|
||||
}
|
||||
commited_actions_count = 0;
|
||||
committed_actions_count = 0;
|
||||
}
|
||||
|
||||
void TileProxiesManagerDialog::_bind_methods() {
|
||||
@@ -320,7 +320,7 @@ void TileProxiesManagerDialog::_bind_methods() {
|
||||
void TileProxiesManagerDialog::update_tile_set(Ref<TileSet> p_tile_set) {
|
||||
ERR_FAIL_COND(p_tile_set.is_null());
|
||||
tile_set = p_tile_set;
|
||||
commited_actions_count = 0;
|
||||
committed_actions_count = 0;
|
||||
_update_lists();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user