mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Make Route Group dialog instant-apply. Disallow identically-named route group; fixes #3689.
git-svn-id: svn://localhost/ardour2/branches/3.0@8481 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
150d3fdfbf
commit
af0030a6de
6 changed files with 111 additions and 62 deletions
|
|
@ -29,12 +29,13 @@
|
|||
class RouteGroupDialog : public ArdourDialog
|
||||
{
|
||||
public:
|
||||
RouteGroupDialog (ARDOUR::RouteGroup *, Gtk::StockID const &);
|
||||
|
||||
int do_run ();
|
||||
RouteGroupDialog (ARDOUR::RouteGroup *, bool);
|
||||
|
||||
bool do_run ();
|
||||
|
||||
private:
|
||||
ARDOUR::RouteGroup* _group;
|
||||
std::string _initial_name;
|
||||
|
||||
Gtk::Entry _name;
|
||||
Gtk::CheckButton _active;
|
||||
|
|
@ -45,8 +46,11 @@ private:
|
|||
Gtk::CheckButton _rec_enable;
|
||||
Gtk::CheckButton _select;
|
||||
Gtk::CheckButton _edit;
|
||||
Gtk::Button* _ok;
|
||||
|
||||
void gain_toggled ();
|
||||
void update ();
|
||||
bool unique_name () const;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue