|
@@ -1,5 +1,5 @@
|
|
/*************************************************************************/
|
|
/*************************************************************************/
|
|
-/* editor_node.cpp */
|
|
|
|
|
|
+/* editor_layout_dialog.cpp */
|
|
/*************************************************************************/
|
|
/*************************************************************************/
|
|
/* This file is part of: */
|
|
/* This file is part of: */
|
|
/* GODOT ENGINE */
|
|
/* GODOT ENGINE */
|
|
@@ -35,6 +35,12 @@ void EditorLayoutDialog::clear_layout_name() {
|
|
layout_name->clear();
|
|
layout_name->clear();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+void EditorLayoutDialog::_post_popup() {
|
|
|
|
+
|
|
|
|
+ ConfirmationDialog::_post_popup();
|
|
|
|
+ layout_name->grab_focus();
|
|
|
|
+}
|
|
|
|
+
|
|
void EditorLayoutDialog::ok_pressed() {
|
|
void EditorLayoutDialog::ok_pressed() {
|
|
|
|
|
|
if (layout_name->get_text()!="") {
|
|
if (layout_name->get_text()!="") {
|