summaryrefslogtreecommitdiff
path: root/src/wx/screen_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-10-14 12:46:15 +0100
committerCarl Hetherington <cth@carlh.net>2013-10-14 12:46:15 +0100
commitc439745bf1a1a38d0fc99ed18e2726730790973b (patch)
tree735ceb6233af308f7a23043fd6f604b84df4ebf0 /src/wx/screen_dialog.h
parent0cb4b0621cb7f24a1a8c39fd81984b9ef79f0d7d (diff)
Prevent crashes when coming out of the add screen dialog without giving a certificate.
Diffstat (limited to 'src/wx/screen_dialog.h')
-rw-r--r--src/wx/screen_dialog.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/screen_dialog.h b/src/wx/screen_dialog.h
index 1bd4a89a9..271ae2055 100644
--- a/src/wx/screen_dialog.h
+++ b/src/wx/screen_dialog.h
@@ -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;