Qt: Fix pause button repeatedly triggering sometimes

This commit is contained in:
Connor McLaughlin 2020-05-31 02:41:31 +10:00
parent 0672cf4873
commit de8aef4f44
1 changed files with 1 additions and 0 deletions

View File

@ -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);
} }