part two of allow markup to be used in BoolOption items in an option editor
git-svn-id: svn://localhost/ardour2/branches/3.0@13978 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
3d369ef1cc
commit
4c42a77441
|
@ -113,7 +113,10 @@ BoolOption::BoolOption (string const & i, string const & n, sigc::slot<bool> g,
|
|||
_get (g),
|
||||
_set (s)
|
||||
{
|
||||
_button = manage (new CheckButton (n));
|
||||
_button = manage (new CheckButton);
|
||||
_label = manage (new Label);
|
||||
_label->set_markup (n);
|
||||
_button->add (*_label);
|
||||
_button->set_active (_get ());
|
||||
_button->signal_toggled().connect (sigc::mem_fun (*this, &BoolOption::toggled));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue