Prevent crashes when coming out of the add screen dialog without giving a certificate.
[dcpomatic.git] / src / wx / screen_dialog.h
index 1bd4a89a92cb976002ac735bd3371b1be26d579f..271ae2055a884123bb916004f7602f41c444319f 100644 (file)
@@ -30,7 +30,8 @@ public:
        boost::shared_ptr<libdcp::Certificate> certificate () const;
        
 private:
-       void load_certificate (wxCommandEvent &);
+       void load_certificate ();
+       void setup_sensitivity ();
        
        wxTextCtrl* _name;
        wxButton* _certificate_load;