Skip to content

Commit 6ba86c3

Browse files
committed
Disable the debugger thread selector when there's nothing to select
1 parent fd4c29a commit 6ba86c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

editor/debugger/script_editor_debugger.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,6 +1062,7 @@ void ScriptEditorDebugger::_update_buttons_state() {
10621062
for (KeyValue<uint64_t, ThreadDebugged> &I : threads_debugged) {
10631063
threadss.push_back(&I.value);
10641064
}
1065+
threads->set_disabled(threadss.is_empty());
10651066

10661067
threadss.sort_custom<ThreadSort>();
10671068
threads->clear();

0 commit comments

Comments
 (0)