Give a better error if the user tries to load a non-KDM as a DKDM into the KDM creator.
[dcpomatic.git] / src / wx / email_dialog.h
index 4fb08d28b848a30ef262abcec9cf0b9fc9be4abd..40a6fdb741f5743a6dd3ae100e0875370ea90301 100644 (file)
@@ -19,6 +19,7 @@
 */
 
 #include "table_dialog.h"
+#include <boost/optional.hpp>
 
 class EmailDialog : public TableDialog
 {
@@ -26,7 +27,7 @@ public:
        EmailDialog (wxWindow *);
 
        void set (std::string);
-       std::string get () const;
+       boost::optional<std::string> get () const;
 
 private:
        wxTextCtrl* _email;