Follow - up of abd432e7a8f91bba876a29c857844c93dab4b762->Set default as non fullpath export

This commit is contained in:
Enrico Turri 2020-01-13 08:47:11 +01:00
parent 9038dc21e8
commit fdb1d2c9de
2 changed files with 2 additions and 2 deletions

View file

@ -63,7 +63,7 @@ void AppConfig::set_defaults()
#if ENABLE_CONFIGURABLE_PATHS_EXPORT_TO_3MF_AND_AMF
if (get("export_sources_full_pathnames").empty())
set("export_sources_full_pathnames", "1");
set("export_sources_full_pathnames", "0");
#endif // ENABLE_CONFIGURABLE_PATHS_EXPORT_TO_3MF_AND_AMF
// remove old 'use_legacy_opengl' parameter from this config, if present

View file

@ -768,7 +768,7 @@ PageUpdate::PageUpdate(ConfigWizard *parent)
#if ENABLE_CONFIGURABLE_PATHS_EXPORT_TO_3MF_AND_AMF
PageReloadFromDisk::PageReloadFromDisk(ConfigWizard* parent)
: ConfigWizardPage(parent, _(L("Reload from disk")), _(L("Reload from disk")))
, full_pathnames(true)
, full_pathnames(false)
{
auto* box_pathnames = new wxCheckBox(this, wxID_ANY, _(L("Export full pathnames of models and parts sources into 3mf and amf files")));
box_pathnames->SetValue(wxGetApp().app_config->get("export_sources_full_pathnames") == "1");