mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-30 09:35:40 +00:00
Qt: Fix pause button repeatedly triggering sometimes
This commit is contained in:
parent
0672cf4873
commit
de8aef4f44
|
@ -199,6 +199,7 @@ void MainWindow::onEmulationStopped()
|
||||||
|
|
||||||
void MainWindow::onEmulationPaused(bool paused)
|
void MainWindow::onEmulationPaused(bool paused)
|
||||||
{
|
{
|
||||||
|
QSignalBlocker blocker(m_ui.actionPause);
|
||||||
m_ui.actionPause->setChecked(paused);
|
m_ui.actionPause->setChecked(paused);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue