diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2020-12-15 12:51:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-15 12:51:06 +0100 |
| commit | 93dbee9a15b5a63365cb5a9582997f6f9e1a1a89 (patch) | |
| tree | 791d8102935b2e5223560b851cfd7ea91c726be3 /editor/plugins/node_3d_editor_plugin.cpp | |
| parent | ddbdafbcf1b9ef2b16987b8c89c1a9997b60c755 (diff) | |
| parent | 8509c8c8fc01c227aed1edc64ab26307a1f6dbc2 (diff) | |
| download | redot-engine-93dbee9a15b5a63365cb5a9582997f6f9e1a1a89.tar.gz | |
Merge pull request #44389 from madmiraal/rename-get_ok
Rename AcceptDialog get_ok() to get_ok_button()
Diffstat (limited to 'editor/plugins/node_3d_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/node_3d_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp index 6493e0f953..e6a3b9146c 100644 --- a/editor/plugins/node_3d_editor_plugin.cpp +++ b/editor/plugins/node_3d_editor_plugin.cpp @@ -6423,7 +6423,7 @@ Node3DEditor::Node3DEditor(EditorNode *p_editor) { snap_dialog->set_title(TTR("Snap Settings")); add_child(snap_dialog); snap_dialog->connect("confirmed", callable_mp(this, &Node3DEditor::_snap_changed)); - snap_dialog->get_cancel()->connect("pressed", callable_mp(this, &Node3DEditor::_snap_update)); + snap_dialog->get_cancel_button()->connect("pressed", callable_mp(this, &Node3DEditor::_snap_update)); VBoxContainer *snap_dialog_vbc = memnew(VBoxContainer); snap_dialog->add_child(snap_dialog_vbc); |
