Skip to content

Commit

Permalink
Allow hidden sliders to be selected for toggles #175
Browse files Browse the repository at this point in the history
  • Loading branch information
ousnius committed Mar 12, 2018
1 parent 0fe186b commit 83b86eb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lang/BodySlide.pot
Original file line number Diff line number Diff line change
Expand Up @@ -1347,7 +1347,7 @@ msgstr ""
msgid "Invert V"
msgstr ""

msgid "Toggle Zaps:"
msgid "Toggle:"
msgstr ""

msgid "Search Radius"
Expand Down
Binary file modified lang/de/BodySlide.mo
Binary file not shown.
4 changes: 2 additions & 2 deletions lang/de/BodySlide.po
Original file line number Diff line number Diff line change
Expand Up @@ -1545,8 +1545,8 @@ msgstr "U invertieren"
msgid "Invert V"
msgstr "V invertieren"

msgid "Toggle Zaps:"
msgstr "Zaps umschalten:"
msgid "Toggle:"
msgstr "Umschalten:"

msgid "Search Radius"
msgstr "Suchradius"
Expand Down
2 changes: 1 addition & 1 deletion src/program/OutfitStudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5371,7 +5371,7 @@ void OutfitStudioFrame::OnSliderProperties(wxCommandEvent& WXUNUSED(event)) {
zapToggleList->Enable();

for (int i = 0; i < project->SliderCount(); i++)
if (i != curSlider && project->SliderZap(i))
if (i != curSlider && (project->SliderZap(i) || project->SliderHidden(i)))
zapToggleList->Append(project->GetSliderName(i));

for (auto &s : project->SliderZapToggles(curSlider)) {
Expand Down

0 comments on commit 83b86eb

Please sign in to comment.