mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07: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:
@@ -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