summaryrefslogtreecommitdiffstats
path: root/editor/script_create_dialog.cpp
diff options
context:
space:
mode:
authorDaniel J. Ramirez <djrmuv@gmail.com>2017-11-10 16:45:08 -0600
committerDaniel J. Ramirez <djrmuv@gmail.com>2017-11-10 16:45:08 -0600
commit8cf0d6ceb4f0c6c102a3166e8feb1589dd1030a9 (patch)
tree44fa1bae0102aad913817113b2304d9f273cd74c /editor/script_create_dialog.cpp
parent19b1ff0fc5f7acce23176ad6c8752604357472f0 (diff)
downloadredot-engine-8cf0d6ceb4f0c6c102a3166e8feb1589dd1030a9.tar.gz
Some fixes and improvements.
Changed FileDialogs for EditorFileDialogs in EditorNode. Updated CheckButton.
Diffstat (limited to 'editor/script_create_dialog.cpp')
-rw-r--r--editor/script_create_dialog.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/editor/script_create_dialog.cpp b/editor/script_create_dialog.cpp
index c19b80e649..0f1712c224 100644
--- a/editor/script_create_dialog.cpp
+++ b/editor/script_create_dialog.cpp
@@ -703,9 +703,7 @@ ScriptCreateDialog::ScriptCreateDialog() {
internal = memnew(CheckButton);
internal->connect("pressed", this, "_built_in_pressed");
hb = memnew(HBoxContainer);
- Control *empty = memnew(Control);
hb->add_child(internal);
- hb->add_child(empty);
l = memnew(Label);
l->set_text(TTR("Built-in Script"));
l->set_align(Label::ALIGN_RIGHT);