| 2895 | } |
| 2896 | |
| 2897 | void ScriptEditor::reload_scripts(bool p_refresh_only) { |
| 2898 | // Call deferred to make sure it runs on the main thread. |
| 2899 | callable_mp(this, &ScriptEditor::_reload_scripts).call_deferred(p_refresh_only); |
| 2900 | } |
| 2901 | |
| 2902 | void ScriptEditor::_reload_scripts(bool p_refresh_only) { |
| 2903 | for (int i = 0; i < tab_container->get_tab_count(); i++) { |
no test coverage detected