1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Merge pull request #9762 from Paulb23/_scipt_close_tab_selection_issue_8400

Fixed script tab selection on file close, issue 8400
This commit is contained in:
Rémi Verschelde
2017-07-23 13:09:59 +02:00
committed by GitHub

View File

@@ -518,6 +518,9 @@ void ScriptEditor::_close_tab(int p_idx, bool p_save) {
_add_recent_script(help->get_class());
}
// roll back to previous tab
_history_back();
//remove from history
history.resize(history_pos + 1);