mirror of
https://github.com/DarkMatterCore/nxdumptool.git
synced 2024-11-22 18:26:39 +00:00
OptionsTab: let AppletFrame take care of registering the B button action.
This commit is contained in:
parent
3b892e2179
commit
3cbdb5dc65
2 changed files with 1 additions and 6 deletions
|
@ -1 +1 @@
|
|||
Subproject commit abd5d6dd313eb278e7f83af0a3594ef27df3fd98
|
||||
Subproject commit 642c599c33f8632c42b0931aaa7676293576a191
|
|
@ -197,11 +197,6 @@ namespace nxdt::views
|
|||
this->update_progress = new OptionsTabUpdateProgress();
|
||||
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. */
|
||||
this->json_task.RegisterListener([this](const nxdt::tasks::DownloadTaskProgress& progress) {
|
||||
/* Return immediately if the JSON task hasn't finished. */
|
||||
|
|
Loading…
Reference in a new issue