summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/MainWindow.cpp
diff options
context:
space:
mode:
authorspycrab <spycrab@users.noreply.github.com>2017-07-07 08:16:28 +0200
committerspycrab <spycrab@users.noreply.github.com>2017-07-09 16:09:30 +0200
commitadf2cd4252482e5d77f43f171cc40f01832ec062 (patch)
treec312278aa06ca90d6f661a94c2837a61016dc179 /Source/Core/DolphinQt2/MainWindow.cpp
parentc941cd6aa90f5e5a48a35365d8193c6961577f4f (diff)
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.cpp2
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()