diff --git a/src/supertux/menu/download_dialog.cpp b/src/supertux/menu/download_dialog.cpp index 6506f8ec96f..2a0b1caba97 100644 --- a/src/supertux/menu/download_dialog.cpp +++ b/src/supertux/menu/download_dialog.cpp @@ -30,7 +30,7 @@ DownloadDialog::DownloadDialog(TransferStatusPtr status, bool auto_close, bool p update_text(); - status->then( + m_status->then( [this](bool success) { if (success)