remove duplicate code
[ardour.git] / gtk2_ardour / missing_plugin_dialog.cc
old mode 100755 (executable)
new mode 100644 (file)
index 971343c..ddbca3a
@@ -17,7 +17,6 @@
 */
 
 #include <gtkmm/label.h>
-#include "ardour/session.h"
 #include "missing_plugin_dialog.h"
 #include "i18n.h"
 
@@ -32,6 +31,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);
 
@@ -44,7 +44,7 @@ MissingPluginDialog::MissingPluginDialog (Session * s, list<string> const & plug
 
        t << "\nThose plugins and any following them on a track or buss have been disabled, and will be hidden.\n";
        t << "It is recommended that you install the missing plugins and re-load the session.\n";
-       
+
         m->set_markup (t.str ());
         get_vbox()->pack_start (*m, false, false);