Fix "assertion 'child->parent == NULL'

add_button() already adds the button to the dialog.
This commit is contained in:
Robin Gareus 2025-08-04 00:16:14 +02:00
parent 38be8c2746
commit cc3d867ac4
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -41,7 +41,6 @@ public:
Gtk::Button *cancel_button = add_button (Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL); Gtk::Button *cancel_button = add_button (Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
cancel_button->signal_clicked().connect (cancel); cancel_button->signal_clicked().connect (cancel);
cancel_button->show(); cancel_button->show();
get_vbox()->pack_start (*cancel_button, Gtk::PACK_SHRINK);
} }
void update_progress (ARDOUR::samplecnt_t c, ARDOUR::samplecnt_t t) { void update_progress (ARDOUR::samplecnt_t c, ARDOUR::samplecnt_t t) {