Skip to content

Commit

Permalink
debugger: Avoid incorrect update timer restart
Browse files Browse the repository at this point in the history
  • Loading branch information
elad335 committed Jun 5, 2023
1 parent 039d479 commit c2852a2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rpcs3/rpcs3qt/debugger_frame.cpp
Expand Up @@ -1334,6 +1334,11 @@ void debugger_frame::DoStep(bool step_over)

void debugger_frame::EnableUpdateTimer(bool enable) const
{
if (m_update->isActive() == enable)
{
return;
}

enable ? m_update->start(10) : m_update->stop();
}

Expand Down

0 comments on commit c2852a2

Please sign in to comment.