You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-29 16:16:38 +00:00
Makes "Add new member" dialog non-exclusive for visual shaders
This commit is contained in:
@@ -2450,6 +2450,7 @@ VisualShaderEditor::VisualShaderEditor() {
|
|||||||
|
|
||||||
members_dialog = memnew(ConfirmationDialog);
|
members_dialog = memnew(ConfirmationDialog);
|
||||||
members_dialog->set_title(TTR("Create Shader Node"));
|
members_dialog->set_title(TTR("Create Shader Node"));
|
||||||
|
members_dialog->set_exclusive(false);
|
||||||
members_dialog->add_child(members_vb);
|
members_dialog->add_child(members_vb);
|
||||||
members_dialog->get_ok()->set_text(TTR("Create"));
|
members_dialog->get_ok()->set_text(TTR("Create"));
|
||||||
members_dialog->get_ok()->connect("pressed", callable_mp(this, &VisualShaderEditor::_member_create));
|
members_dialog->get_ok()->connect("pressed", callable_mp(this, &VisualShaderEditor::_member_create));
|
||||||
|
|||||||
Reference in New Issue
Block a user