mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Manage OptionEditor labels
Because those Widgets are added to managed frames (for search highlight) the labels inside also need to be managed and not destroyed with the Option (which happens first). This fixes various GTK warnings at exit ``` gtk_widget_unparent: assertion 'GTK_IS_WIDGET (widget)' failed ```
This commit is contained in:
parent
c084f74fda
commit
6016c9624e
3 changed files with 13 additions and 16 deletions
|
|
@ -1151,7 +1151,7 @@ public:
|
|||
sigc::mem_fun (*c, &RCConfiguration::set_plugin_scan_timeout),
|
||||
1, 900, 50, 50)
|
||||
{
|
||||
_label.set_alignment (1.0, 0.5); // match buttons below
|
||||
_label->set_alignment (1.0, 0.5); // match buttons below
|
||||
_hscale.set_digits (0);
|
||||
_hscale.set_draw_value(false);
|
||||
_hscale.add_mark ( 10, Gtk::POS_TOP, _("1 sec"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue