diff --git a/UI/ImDebugger/ImGe.cpp b/UI/ImDebugger/ImGe.cpp index 4457f661e2..a86566430c 100644 --- a/UI/ImDebugger/ImGe.cpp +++ b/UI/ImDebugger/ImGe.cpp @@ -1187,15 +1187,14 @@ void ImGeDebuggerWindow::Draw(ImConfig &cfg, ImControl &control, GPUCommon *gpuD if (ImGui::RepeatButtonShift("Single step", fastRepeatRate)) { gpuDebug->SetBreakNext(GPUDebug::BreakNext::OP); } + if (disableStepButtons) { + ImGui::EndDisabled(); + } ImGui::SameLine(); if (ImGui::Button("Cancel step")) { gpuDebug->ClearBreakNext(); } - if (disableStepButtons) { - ImGui::EndDisabled(); - } - ImGui::Text("%d/%d", gpuDebug->PrimsThisFrame(), gpuDebug->PrimsLastFrame()); if (disableStepButtons) {