Skip to content

Commit

Permalink
Always sel/desel highlighted item even if previously was already sele…
Browse files Browse the repository at this point in the history
…cted
  • Loading branch information
cybercop23 authored and dkulp committed Mar 13, 2024
1 parent f033f26 commit 7129a09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xLights/controllers/FPPConnectDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -556,9 +556,9 @@ void FPPConnectDialog::OnPopup(wxCommandEvent &event)
CheckListBox_Sequences->CheckItem(item);
} else if (id == ID_MNU_SELECTNONE && isChecked) {
CheckListBox_Sequences->UncheckItem(item);
} else if (id == ID_MNU_SELECTHIGH && !isChecked && isSelected) {
} else if (id == ID_MNU_SELECTHIGH && isSelected) {
CheckListBox_Sequences->CheckItem(item);
} else if (id == ID_MNU_SELECTHIGH && isChecked && isSelected) {
} else if (id == ID_MNU_DESELECTHIGH && isSelected) {
CheckListBox_Sequences->UncheckItem(item);
}
item = CheckListBox_Sequences->GetNextItem(item);
Expand Down

0 comments on commit 7129a09

Please sign in to comment.