mirror of
https://github.com/DarkMatterCore/nxdumptool.git
synced 2024-11-22 10:16:39 +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
|
shell: bash
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: Clone nxdumptool repository
|
||||||
with:
|
run: |
|
||||||
submodules: true
|
git clone --recurse-submodules https://github.com/DarkMatterCore/nxdumptool .
|
||||||
|
|
||||||
- name: Set environment variables
|
- name: Set environment variables
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -435,8 +435,12 @@ namespace nxdt::views
|
||||||
reset_settings->getClickEvent()->subscribe([this](brls::View* view) {
|
reset_settings->getClickEvent()->subscribe([this](brls::View* view) {
|
||||||
if (!this->display_notification) return;
|
if (!this->display_notification) return;
|
||||||
|
|
||||||
|
/* Reset settings. */
|
||||||
configResetSettings();
|
configResetSettings();
|
||||||
|
|
||||||
|
/* Reset cached output storage value. */
|
||||||
|
this->root_view->SetOutputStorage(ConfigOutputStorage_SdCard);
|
||||||
|
|
||||||
this->DisplayNotification("options_tab/notifications/settings_reset"_i18n);
|
this->DisplayNotification("options_tab/notifications/settings_reset"_i18n);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue