diff --git a/lang/BodySlide.pot b/lang/BodySlide.pot index 964a6214..3d926520 100644 --- a/lang/BodySlide.pot +++ b/lang/BodySlide.pot @@ -144,6 +144,9 @@ msgstr "" msgid "Select All\tCtrl+A" msgstr "" +msgid "Invert Selection" +msgstr "" + msgid "Enter preset name..." msgstr "" diff --git a/lang/de/BodySlide.mo b/lang/de/BodySlide.mo index 4d557157..6b7bd729 100644 Binary files a/lang/de/BodySlide.mo and b/lang/de/BodySlide.mo differ diff --git a/lang/de/BodySlide.po b/lang/de/BodySlide.po index a28b6cbf..0683426d 100644 --- a/lang/de/BodySlide.po +++ b/lang/de/BodySlide.po @@ -160,6 +160,9 @@ msgstr "Alle auswählen" msgid "Select All\tCtrl+A" msgstr "Alle auswählen\tCtrl+A" +msgid "Invert Selection" +msgstr "Auswahl umkehren" + msgid "Enter preset name..." msgstr "Preset-Name eingeben..." diff --git a/res/xrc/BodySlide.xrc b/res/xrc/BodySlide.xrc index eba23ae3..1b9d9c3a 100644 --- a/res/xrc/BodySlide.xrc +++ b/res/xrc/BodySlide.xrc @@ -448,5 +448,8 @@ + + + diff --git a/res/xrc/Project.xrc b/res/xrc/Project.xrc index 21e3a14a..4b9b917e 100644 --- a/res/xrc/Project.xrc +++ b/res/xrc/Project.xrc @@ -1031,5 +1031,8 @@ + + + diff --git a/src/program/BodySlideApp.cpp b/src/program/BodySlideApp.cpp index ab45c938..c8cf6984 100644 --- a/src/program/BodySlideApp.cpp +++ b/src/program/BodySlideApp.cpp @@ -3256,10 +3256,14 @@ void BodySlideFrame::OnBatchBuildSelect(wxCommandEvent& event) { for (int i = 0; i < batchBuildList->GetCount(); i++) batchBuildList->Check(i, false); } - else { + else if (event.GetId() == XRCID("batchBuildAll")) { for (int i = 0; i < batchBuildList->GetCount(); i++) batchBuildList->Check(i); } + else if (event.GetId() == XRCID("batchBuildInvert")) { + for (int i = 0; i < batchBuildList->GetCount(); i++) + batchBuildList->Check(!batchBuildList->IsChecked(i)); + } } void BodySlideFrame::OnOutfitStudio(wxCommandEvent& WXUNUSED(event)) { diff --git a/src/program/OutfitStudio.cpp b/src/program/OutfitStudio.cpp index d5c9e9c2..44241ce9 100644 --- a/src/program/OutfitStudio.cpp +++ b/src/program/OutfitStudio.cpp @@ -1027,10 +1027,14 @@ void OutfitStudioFrame::OnPackProjects(wxCommandEvent& WXUNUSED(event)) { for (int i = 0; i < projectList->GetCount(); i++) projectList->Check(i, false); } - else { + else if (event.GetId() == XRCID("projectListAll")) { for (int i = 0; i < projectList->GetCount(); i++) projectList->Check(i); } + else if (event.GetId() == XRCID("projectListInvert")) { + for (int i = 0; i < projectList->GetCount(); i++) + projectList->Check(i, !projectList->IsChecked(i)); + } }); PopupMenu(menu);