mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Close RouteGroup dialog when route is deleted
This fixes a crash when trying to interact with the RouteGroup dialog after deleting the group
This commit is contained in:
parent
06962c7728
commit
0db79b8023
2 changed files with 9 additions and 1 deletions
|
|
@ -29,6 +29,10 @@
|
|||
#include "ardour_dialog.h"
|
||||
#include "stripable_colorpicker.h"
|
||||
|
||||
namespace ARDOUR {
|
||||
class RouteGroup;
|
||||
}
|
||||
|
||||
class RouteGroupDialog : public ArdourDialog
|
||||
{
|
||||
public:
|
||||
|
|
@ -59,7 +63,8 @@ private:
|
|||
void gain_toggled ();
|
||||
void update ();
|
||||
bool unique_name (std::string const name) const;
|
||||
|
||||
PBD::ScopedConnection _group_connection;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue