Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg68 committed Feb 25, 2024
1 parent 213620a commit 194d105
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/grandorgue/GOVirtualCouplerController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,15 @@ void GOVirtualCouplerController::Init(
}
}

static wxString WX_COOPLE_THROUGH = wxT("CoupleThrough");
static wxString WX_COUPLE_THROUGH = wxT("CoupleThrough");

void GOVirtualCouplerController::Load(
GOOrganModel &organModel, GOConfigReader &cfg) {
Init(organModel, cfg);
for (auto e : m_CoupleThroughPtrs) {
GOCallbackButtonControl *pCoupleThrough = e.second;
bool isCoupleThrough = cfg.ReadBoolean(
CMBSetting, pCoupleThrough->GetGroup(), WX_COOPLE_THROUGH, false, false);
CMBSetting, pCoupleThrough->GetGroup(), WX_COUPLE_THROUGH, false, false);

pCoupleThrough->Set(isCoupleThrough);
}
Expand All @@ -159,7 +159,7 @@ void GOVirtualCouplerController::Save(GOConfigWriter &cfg) {

cfg.WriteBoolean(
pCoupleThrough->GetGroup(),
WX_COOPLE_THROUGH,
WX_COUPLE_THROUGH,
pCoupleThrough->IsEngaged());
}
}
Expand Down

0 comments on commit 194d105

Please sign in to comment.