Updated description preset line for each type of presets...

Disabled m_btn_delete_preset for default and system presets.
Enabled update of the current preset if it was modified and selected again.
This commit is contained in:
YuSanka 2018-04-26 12:40:17 +02:00
parent 91db0a6e05
commit b3859c49c1
5 changed files with 53 additions and 13 deletions

View file

@ -468,10 +468,10 @@ Field* ConfigOptionsGroup::get_fieldc(const t_config_option_key& opt_key, int op
return opt_id.empty() ? nullptr : get_field(opt_id);
}
void ogStaticText::SetText(const wxString& value)
void ogStaticText::SetText(const wxString& value, bool wrap/* = true*/)
{
SetLabel(value);
Wrap(400);
if (wrap) Wrap(400);
GetParent()->Layout();
}