mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 06:21:26 +12:00
debugger: Avoid incorrect update timer restart
This commit is contained in:
parent
e77c01d00a
commit
ca56f0747e
1 changed files with 5 additions and 0 deletions
|
@ -1334,6 +1334,11 @@ void debugger_frame::DoStep(bool step_over)
|
||||||
|
|
||||||
void debugger_frame::EnableUpdateTimer(bool enable) const
|
void debugger_frame::EnableUpdateTimer(bool enable) const
|
||||||
{
|
{
|
||||||
|
if (m_update->isActive() == enable)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
enable ? m_update->start(10) : m_update->stop();
|
enable ? m_update->start(10) : m_update->stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue