mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-19 09:01:15 +02:00
AddCheckBox takes a bool for initial state, not string
This commit is contained in:
@@ -609,7 +609,7 @@ void VampEffect::PopulateOrExchange(ShuttleGui & S)
|
||||
{
|
||||
S.Id(ID_Toggles + p);
|
||||
mToggles[p] = S.AddCheckBox( {},
|
||||
value > 0.5 ? wxT("true") : wxT("false"));
|
||||
value > 0.5);
|
||||
mToggles[p]->SetName(labelText);
|
||||
if (!tip.empty())
|
||||
{
|
||||
|
Reference in New Issue
Block a user