From 764c285223d68e37fa38e98d2e9cd6ea62a36bf1 Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 15 Jun 2022 10:33:57 +0200 Subject: [PATCH] Fix the add popup for mat maker's ui. --- modules/material_maker/editor/mat_maker_gd_editor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/material_maker/editor/mat_maker_gd_editor.cpp b/modules/material_maker/editor/mat_maker_gd_editor.cpp index 437df5294..29dcaa6ff 100644 --- a/modules/material_maker/editor/mat_maker_gd_editor.cpp +++ b/modules/material_maker/editor/mat_maker_gd_editor.cpp @@ -102,6 +102,8 @@ void MatMakerGDEditor::_notification(int p_what) { _graph_edit->connect("connection_request", this, "on_graph_edit_connection_request"); _graph_edit->connect("disconnection_request", this, "on_graph_edit_disconnection_request"); + + _create_popup->connect("ok_pressed", this, "_on_AddPopup_ok_pressed"); } }