Fix debug assertion when adding a KDM.
[dcpomatic.git] / src / wx / content_menu.cc
index b9214e6a78689c0c8ba2140cbb5186e87fee1e67..c0479ac8355c53f51489849a94d22958bbd9f204 100644 (file)
@@ -403,7 +403,7 @@ ContentMenu::kdm ()
        auto dcp = dynamic_pointer_cast<DCPContent> (_content.front());
        DCPOMATIC_ASSERT (dcp);
 
-       FileDialog dialog(_parent, _("Select KDM"), wxT("XML files|*.xml|All files|*.*"), wxFD_MULTIPLE, "AddKDMPath");
+       FileDialog dialog(_parent, _("Select KDM"), wxT("XML files|*.xml|All files|*.*"), 0, "AddKDMPath");
 
        if (!dialog.show()) {
                return;