diff options
| author | Leo Lam <leolino.lam@gmail.com> | 2017-07-09 16:13:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-09 16:13:39 +0200 |
| commit | eb726194ed5eda374c9e96f9d9828f24af975a78 (patch) | |
| tree | 3a4dd20bebb4d78fdf1a0df6016194a9a2aa0033 /Source/Core/DolphinQt2/MainWindow.cpp | |
| parent | 039e456d6f56c3c355540db8593e7287543a24c5 (diff) | |
| parent | adf2cd4252482e5d77f43f171cc40f01832ec062 (diff) | |
Merge pull request #5762 from spycrab/qt_disable_iwad
Qt: Fix "Install WAD" being enabled while emulation is running
Diffstat (limited to 'Source/Core/DolphinQt2/MainWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/MainWindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt2/MainWindow.cpp b/Source/Core/DolphinQt2/MainWindow.cpp index 59eff4da6d..a4137af20e 100644 --- a/Source/Core/DolphinQt2/MainWindow.cpp +++ b/Source/Core/DolphinQt2/MainWindow.cpp @@ -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() |
