colinf's patch to make enter work on 3 more dialogs (#4459)

git-svn-id: svn://localhost/ardour2/branches/3.0@10505 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis
2011-11-09 10:58:02 +00:00
parent 11a4997037
commit ab80408deb
3 changed files with 4 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ MissingFileDialog::MissingFileDialog (Session* s, const std::string& path, DataT
set_session (s);
add_button (_("Done"), RESPONSE_OK);
set_default_response (RESPONSE_OK);
string typestr;

View File

@@ -32,6 +32,7 @@ MissingPluginDialog::MissingPluginDialog (Session * s, list<string> const & plug
set_session (s);
add_button (_("OK"), RESPONSE_OK);
set_default_response (RESPONSE_OK);
Label* m = manage (new Label);

View File

@@ -41,6 +41,8 @@ NewPluginPresetDialog::NewPluginPresetDialog (boost::shared_ptr<ARDOUR::Plugin>
add_button (Stock::CANCEL, RESPONSE_CANCEL);
_add = add_button (Stock::ADD, RESPONSE_ACCEPT);
set_default_response (RESPONSE_ACCEPT);
_name.set_activates_default(true);
show_all ();