From 06dfba2677e8f8f405b48c702d9a72b1c8bd2508 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 12 Dec 2022 10:17:05 -0700 Subject: [PATCH] SessionDialog: do not invoke idle callbacks from response This dialog is queued for idle delete by both StartupFSM and ArdourUI. The deletion cannot be allowed to happen during a response handler --- gtk2_ardour/session_dialog.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk2_ardour/session_dialog.cc b/gtk2_ardour/session_dialog.cc index 8cb81caef1..b30dc32386 100644 --- a/gtk2_ardour/session_dialog.cc +++ b/gtk2_ardour/session_dialog.cc @@ -146,6 +146,8 @@ SessionDialog::SessionDialog (bool require_new, const std::string& session_name, if (require_new) { setup_untitled_session (); } + + disallow_idle (); } SessionDialog::SessionDialog () @@ -173,6 +175,7 @@ SessionDialog::SessionDialog () recent_scroller.set_size_request (-1, 80); } + disallow_idle (); } SessionDialog::~SessionDialog()