summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2020-07-05 08:41:14 +0300
committerGitHub <noreply@github.com>2020-07-05 08:41:14 +0300
commit583b6c9073a3add5777d2d9074d03f3c165b010c (patch)
treee115d15631f9f6e92a9beb8687e15947c21bca3b
parente4657bd7244b0a86af612ac6b50ca8466c03fd86 (diff)
parente19cdacbd773f4e738a6b92a7834595807a16342 (diff)
Merge pull request #40115 from Chaosus/vshader_fix_dialog
Makes "Create shader node" dialog non-exclusive (visual shaders)
-rw-r--r--editor/plugins/visual_shader_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/visual_shader_editor_plugin.cpp b/editor/plugins/visual_shader_editor_plugin.cpp
index 89ab747cde..13d8f0c856 100644
--- a/editor/plugins/visual_shader_editor_plugin.cpp
+++ b/editor/plugins/visual_shader_editor_plugin.cpp
@@ -2450,6 +2450,7 @@ VisualShaderEditor::VisualShaderEditor() {
members_dialog = memnew(ConfirmationDialog);
members_dialog->set_title(TTR("Create Shader Node"));
+ members_dialog->set_exclusive(false);
members_dialog->add_child(members_vb);
members_dialog->get_ok()->set_text(TTR("Create"));
members_dialog->get_ok()->connect("pressed", callable_mp(this, &VisualShaderEditor::_member_create));