From 3cbdb5dc65f22f2f4af222ca967f72dd8bacce0b Mon Sep 17 00:00:00 2001 From: Pablo Curiel Date: Sun, 31 Jul 2022 04:21:19 +0200 Subject: [PATCH] OptionsTab: let AppletFrame take care of registering the B button action. --- libs/borealis | 2 +- source/options_tab.cpp | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/libs/borealis b/libs/borealis index abd5d6d..642c599 160000 --- a/libs/borealis +++ b/libs/borealis @@ -1 +1 @@ -Subproject commit abd5d6dd313eb278e7f83af0a3594ef27df3fd98 +Subproject commit 642c599c33f8632c42b0931aaa7676293576a191 diff --git a/source/options_tab.cpp b/source/options_tab.cpp index 836ef8c..c2c0be6 100644 --- a/source/options_tab.cpp +++ b/source/options_tab.cpp @@ -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. */