mirror of
https://github.com/DarkMatterCore/nxdumptool.git
synced 2024-11-08 11:51:48 +00:00
OptionsTab: reset cached output storage value while resetting settings.
Other changes include: * workflow: try manually cloning the repository instead of using the checkout action.
This commit is contained in:
parent
1ff3df4eca
commit
21f16ef020
2 changed files with 7 additions and 3 deletions
6
.github/workflows/rewrite.yml
vendored
6
.github/workflows/rewrite.yml
vendored
|
@ -29,9 +29,9 @@ jobs:
|
|||
shell: bash
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
- name: Clone nxdumptool repository
|
||||
run: |
|
||||
git clone --recurse-submodules https://github.com/DarkMatterCore/nxdumptool .
|
||||
|
||||
- name: Set environment variables
|
||||
run: |
|
||||
|
|
|
@ -435,8 +435,12 @@ namespace nxdt::views
|
|||
reset_settings->getClickEvent()->subscribe([this](brls::View* view) {
|
||||
if (!this->display_notification) return;
|
||||
|
||||
/* Reset settings. */
|
||||
configResetSettings();
|
||||
|
||||
/* Reset cached output storage value. */
|
||||
this->root_view->SetOutputStorage(ConfigOutputStorage_SdCard);
|
||||
|
||||
this->DisplayNotification("options_tab/notifications/settings_reset"_i18n);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue