From fae8f8d68bd226e819666c1edad9857f1ba75afd Mon Sep 17 00:00:00 2001 From: OatmealDome Date: Mon, 3 Aug 2020 05:48:57 -0400 Subject: [PATCH] MainWindow: Attach quit emulation sheet to RenderWidget on macOS --- Source/Core/DolphinQt/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp index bff3a6422c..ddc09bb825 100644 --- a/Source/Core/DolphinQt/MainWindow.cpp +++ b/Source/Core/DolphinQt/MainWindow.cpp @@ -824,7 +824,7 @@ bool MainWindow::RequestStop() Core::SetState(Core::State::Paused); auto confirm = ModalMessageBox::question( - this, tr("Confirm"), + m_rendering_to_main ? static_cast(this) : m_render_widget, tr("Confirm"), m_stop_requested ? tr("A shutdown is already in progress. Unsaved data " "may be lost if you stop the current emulation " "before it completes. Force stop?") :