You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
committed by
Rémi Verschelde
parent
830947feaf
commit
424a104666
@@ -711,7 +711,7 @@ void ScriptEditor::_close_current_tab() {
|
||||
int selected = tab_container->get_current_tab();
|
||||
if (selected<0 || selected>=tab_container->get_child_count())
|
||||
return;
|
||||
|
||||
|
||||
Node *tselected = tab_container->get_child(selected);
|
||||
ScriptTextEditor *current = tab_container->get_child(selected)->cast_to<ScriptTextEditor>();
|
||||
if (current) {
|
||||
|
||||
Reference in New Issue
Block a user