Color col = Color.white;
if (oldColourScheme != null && oldColourScheme.isSimple())
{
- col = oldColourScheme.findColour(aa.charAt(0));
+ col = oldColourScheme.findColour(aa.charAt(0), 0, null, null, 0f);
}
button.setBackground(col);
oldColours.addElement(col);