});
update_text();
+
+ status->then([this]{
+ on_download_complete();
+ });
}
void
AddonManager::current()->abort_install();
}
+void
+DownloadDialog::on_download_complete()
+{
+ clear_buttons();
+ add_button(_("Close"), [this]{
+ MenuManager::instance().set_dialog({});
+ });
+}
+
/* EOF */