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)
|
||||
{
|
||||
QSignalBlocker blocker(m_ui.actionPause);
|
||||
m_ui.actionPause->setChecked(paused);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue