mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-12-01 03:16:41 -08:00
presets: clear out applied status when switching profiles (#591)
## Link to GitHub Issue or related Pull Request, if one exists #581 ## Description of change Ensure "applied" status is not persisted through.
This commit is contained in:
1 parent
1bb612f3c9
commit
9db2db2340
1 file changed
+1
@@ -5367,6 +5367,7 @@ namespace overlay::windows {
|
|||||||
templates_selected = -1;
|
templates_selected = -1;
|
||||||
all_cleared = false;
|
all_cleared = false;
|
||||||
template_target_selection.clear();
|
template_target_selection.clear();
|
||||||
|
std::fill(this->template_is_applied.begin(), this->template_is_applied.end(), false);
|
||||||
ImGui::CloseCurrentPopup();
|
ImGui::CloseCurrentPopup();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user