You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Disable the debugger thread selector when there's nothing to select
This commit is contained in:
@@ -1062,6 +1062,7 @@ void ScriptEditorDebugger::_update_buttons_state() {
|
||||
for (KeyValue<uint64_t, ThreadDebugged> &I : threads_debugged) {
|
||||
threadss.push_back(&I.value);
|
||||
}
|
||||
threads->set_disabled(threadss.is_empty());
|
||||
|
||||
threadss.sort_custom<ThreadSort>();
|
||||
threads->clear();
|
||||
|
||||
Reference in New Issue
Block a user