summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/MainWindow.cpp
diff options
context:
space:
mode:
authorLeo Lam <leolino.lam@gmail.com>2017-07-09 16:13:39 +0200
committerGitHub <noreply@github.com>2017-07-09 16:13:39 +0200
commiteb726194ed5eda374c9e96f9d9828f24af975a78 (patch)
tree3a4dd20bebb4d78fdf1a0df6016194a9a2aa0033 /Source/Core/DolphinQt2/MainWindow.cpp
parent039e456d6f56c3c355540db8593e7287543a24c5 (diff)
parentadf2cd4252482e5d77f43f171cc40f01832ec062 (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.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()