Przeglądaj źródła

Create built-in script properly

volzhs 6 lat temu
rodzic
commit
d072d5ed14
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      editor/script_create_dialog.cpp

+ 2 - 0
editor/script_create_dialog.cpp

@@ -308,8 +308,10 @@ void ScriptCreateDialog::_built_in_pressed() {
 
 	if (internal->is_pressed()) {
 		is_built_in = true;
+		is_new_script_created = true;
 	} else {
 		is_built_in = false;
+		_path_changed(file_path->get_text());
 	}
 	_update_dialog();
 }