Hopefully fix crash on startup on Windows.
[dcpomatic.git] / src / wx / new_film_dialog.h
index 715f71f516f309d9db14b9761c40ef9b348f7591..bfcbd423c2cb31a3cc60a9a07bfbc15ab8ad7e17 100644 (file)
@@ -37,5 +37,5 @@ private:
 #else
        wxDirPickerCtrl* _folder;
 #endif
-       static std::string _directory;
+       static boost::optional<std::string> _directory;
 };