route group dialog grabs focus when shown
This commit is contained in:
parent
aedf697646
commit
fe0cde3781
@ -242,3 +242,10 @@ RouteGroupDialog::unique_name (std::string const name) const
|
||||
|
||||
return (i == route_groups.end ());
|
||||
}
|
||||
|
||||
void
|
||||
RouteGroupDialog::on_map ()
|
||||
{
|
||||
ArdourDialog::on_map ();
|
||||
_name.grab_focus ();
|
||||
}
|
||||
|
@ -37,6 +37,8 @@ public:
|
||||
ARDOUR::RouteGroup* group() const { return _group; }
|
||||
bool name_check () const;
|
||||
|
||||
void on_map ();
|
||||
|
||||
private:
|
||||
ARDOUR::RouteGroup* _group;
|
||||
std::string _initial_name;
|
||||
|
Loading…
Reference in New Issue
Block a user