T: Fix Gtk-CRITICAL 'GTK_IS_ENTRY (entry)' failed
The Notebook need to be destroyed before the Gtk::Entry. Destroying the Notebook, destroys every Tab one by one, which triggers a SessionDialog::tab_page_switched callback. This in turn calls SessionDialog::new_name_changed which requires the `new_name_entry` to still be allocated.
This commit is contained in:
parent
c6a67204bb
commit
d60e9e02ea
@ -93,8 +93,6 @@ private:
|
||||
ArdourWidgets::ArdourButton existing_button;
|
||||
ArdourWidgets::ArdourButton prefs_button;
|
||||
|
||||
Gtk::Notebook _tabs;
|
||||
|
||||
Gtk::ComboBoxText timebase_chooser;
|
||||
|
||||
bool new_button_pressed (GdkEventButton*);
|
||||
@ -231,6 +229,8 @@ private:
|
||||
bool info_scroller_update();
|
||||
sigc::connection info_scroller_connection;
|
||||
void updates_button_clicked ();
|
||||
|
||||
Gtk::Notebook _tabs;
|
||||
};
|
||||
|
||||
#endif /* __gtk2_ardour_session_dialog_h__ */
|
||||
|
Loading…
Reference in New Issue
Block a user