mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Improve editor state persistence
This commit is contained in:
parent
74c34aed38
commit
dc46163b12
20 changed files with 557 additions and 259 deletions
|
@ -1704,6 +1704,14 @@ void ScriptEditorDebugger::remove_debugger_tab(Control *p_control) {
|
|||
p_control->queue_free();
|
||||
}
|
||||
|
||||
int ScriptEditorDebugger::get_current_debugger_tab() const {
|
||||
return tabs->get_current_tab();
|
||||
}
|
||||
|
||||
void ScriptEditorDebugger::switch_to_debugger(int p_debugger_tab_idx) {
|
||||
tabs->set_current_tab(p_debugger_tab_idx);
|
||||
}
|
||||
|
||||
void ScriptEditorDebugger::send_message(const String &p_message, const Array &p_args) {
|
||||
_put_msg(p_message, p_args);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue