Qt: Fix "Install WAD" being enabled while emulation is running

This commit is contained in:
spycrab
2017-07-07 08:16:28 +02:00
parent c941cd6aa9
commit adf2cd4252
3 changed files with 22 additions and 3 deletions

View File

@ -249,6 +249,8 @@ void MainWindow::ConnectToolBar()
void MainWindow::ConnectGameList()
{
connect(m_game_list, &GameList::GameSelected, this, &MainWindow::Play);
connect(this, &MainWindow::EmulationStarted, m_game_list, &GameList::EmulationStarted);
connect(this, &MainWindow::EmulationStopped, m_game_list, &GameList::EmulationStopped);
}
void MainWindow::ConnectRenderWidget()