Keep to show current script when closing all docs

also fix error when removing multiple tabs from TabContainer at same frame.
like closing multiple docs at once.

Fix #16403
This commit is contained in:
volzhs
2018-02-07 06:32:03 +09:00
parent fee29570d0
commit df84290a7e
4 changed files with 20 additions and 13 deletions

View File

@@ -62,6 +62,7 @@ private:
Vector<Control *> _get_tabs() const;
int _get_tab_width(int p_index) const;
void _on_theme_changed();
void _update_current_tab();
protected:
void _child_renamed_callback();