mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Disable the debugger thread selector when there's nothing to select
This commit is contained in:
parent
fd4c29a189
commit
6ba86c3852
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue