1
0
Fork 0
mirror of https://github.com/DarkMatterCore/nxdumptool.git synced 2024-11-09 12:11:44 +00:00

OptionsTab: let AppletFrame take care of registering the B button action.

This commit is contained in:
Pablo Curiel 2022-07-31 04:21:19 +02:00
parent 3b892e2179
commit 3cbdb5dc65
2 changed files with 1 additions and 6 deletions

@ -1 +1 @@
Subproject commit abd5d6dd313eb278e7f83af0a3594ef27df3fd98 Subproject commit 642c599c33f8632c42b0931aaa7676293576a191

View file

@ -197,11 +197,6 @@ namespace nxdt::views
this->update_progress = new OptionsTabUpdateProgress(); this->update_progress = new OptionsTabUpdateProgress();
this->addStage(this->update_progress); this->addStage(this->update_progress);
/* Register cancel action. */
this->registerAction("brls/hints/back"_i18n, brls::Key::B, [this](void) {
return this->onCancel();
});
/* Subscribe to the JSON task. */ /* Subscribe to the JSON task. */
this->json_task.RegisterListener([this](const nxdt::tasks::DownloadTaskProgress& progress) { this->json_task.RegisterListener([this](const nxdt::tasks::DownloadTaskProgress& progress) {
/* Return immediately if the JSON task hasn't finished. */ /* Return immediately if the JSON task hasn't finished. */