summaryrefslogtreecommitdiff
path: root/src/wx/email_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-10-20 11:42:14 +0100
committerCarl Hetherington <cth@carlh.net>2016-10-20 11:42:14 +0100
commit00b60f52add041a36fa62118baf4b5ac78993980 (patch)
treea1427c61dc4ed0a17bb9f120985481f1772b9d50 /src/wx/email_dialog.h
parentbd3be0efd59054666fd04d69715275f257994f5e (diff)
Give a better error if the user tries to load a non-KDM as a DKDM into the KDM creator.
Diffstat (limited to 'src/wx/email_dialog.h')
-rw-r--r--src/wx/email_dialog.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/email_dialog.h b/src/wx/email_dialog.h
index 4fb08d28b..40a6fdb74 100644
--- a/src/wx/email_dialog.h
+++ b/src/wx/email_dialog.h
@@ -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;