mirror of
https://github.com/godotengine/godot.git
synced 2025-01-23 19:12:24 -05:00
ScriptCreateDialog should emit the script_changed signal first
This commit is contained in:
parent
3942c939e3
commit
4961db8e88
1 changed files with 2 additions and 2 deletions
|
@ -286,8 +286,8 @@ void ScriptCreateDialog::_create_new() {
|
|||
}
|
||||
}
|
||||
|
||||
hide();
|
||||
emit_signal("script_created", scr);
|
||||
hide();
|
||||
}
|
||||
|
||||
void ScriptCreateDialog::_load_exist() {
|
||||
|
@ -300,8 +300,8 @@ void ScriptCreateDialog::_load_exist() {
|
|||
return;
|
||||
}
|
||||
|
||||
hide();
|
||||
emit_signal("script_created", p_script.get_ref_ptr());
|
||||
hide();
|
||||
}
|
||||
|
||||
void ScriptCreateDialog::_lang_changed(int l) {
|
||||
|
|
Loading…
Add table
Reference in a new issue