diff options
| author | Juan Linietsky | 2016-01-23 19:51:51 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-01-23 19:51:51 -0300 |
| commit | 6c27df8df609337867c108c5adb66174393e190b (patch) | |
| tree | 11c1e8ad5f1f844fe6af2032784fd8e2a2951420 /tools/editor/connections_dialog.cpp | |
| parent | a2992d5955ff4f84f829dcab4859b4f5b5399a2c (diff) | |
| download | godot-6c27df8df609337867c108c5adb66174393e190b.tar.gz godot-6c27df8df609337867c108c5adb66174393e190b.tar.zst godot-6c27df8df609337867c108c5adb66174393e190b.zip | |
-Fixes a bunch of stdout errors, closes #2763 closes #2731
Diffstat (limited to 'tools/editor/connections_dialog.cpp')
| -rw-r--r-- | tools/editor/connections_dialog.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/editor/connections_dialog.cpp b/tools/editor/connections_dialog.cpp index e94bc78f5..1e530b21c 100644 --- a/tools/editor/connections_dialog.cpp +++ b/tools/editor/connections_dialog.cpp @@ -96,7 +96,11 @@ void ConnectDialog::_notification(int p_what) { RID ci = get_canvas_item(); get_stylebox("panel","PopupMenu")->draw(ci,Rect2(Point2(),get_size())); - } + } + + if (p_what==NOTIFICATION_ENTER_TREE) { + bind_editor->edit(cdbinds); + } } void ConnectDialog::_tree_node_selected() { @@ -456,7 +460,6 @@ ConnectDialog::ConnectDialog() { set_as_toplevel(true); cdbinds = memnew( ConnectDialogBinds ); - bind_editor->edit(cdbinds); error = memnew( ConfirmationDialog ); add_child(error); |
