Merge pull request #9002 from OatmealDome/renderwidget-sheet
MainWindow: Attach quit emulation sheet to RenderWidget if shown on macOS
This commit is contained in:
commit
d7a96f927c
|
@ -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<QWidget*>(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?") :
|
||||
|
|
Loading…
Reference in New Issue