Fix (I think) some strange situations where ::get() on dialogs
[dcpomatic.git] / src / wx / content_version_dialog.h
index 8f375984d92403f4405803c6c4e2ec9fccfe4cdb..8407c0475b97f389e119eda1beec80431bc9ba77 100644 (file)
@@ -30,7 +30,7 @@ public:
        ContentVersionDialog (wxWindow* parent);
 
        void set (std::string);
-       std::string get () const;
+       boost::optional<std::string> get () const;
 
 private:
        wxTextCtrl* _version;