diff --git a/src/app/valentina/dialogs/dialoglayoutsettings.cpp b/src/app/valentina/dialogs/dialoglayoutsettings.cpp index b3b71836f..2a104a053 100644 --- a/src/app/valentina/dialogs/dialoglayoutsettings.cpp +++ b/src/app/valentina/dialogs/dialoglayoutsettings.cpp @@ -592,7 +592,7 @@ void DialogLayoutSettings::DialogAccepted() generator->SetUnitePages(IsUnitePages()); generator->SetStripOptimization(IsStripOptimization()); generator->SetMultiplier(GetMultiplier()); - generator->SetTestAsPaths(IsTextAsPaths()); + generator->SetTextAsPaths(IsTextAsPaths()); if (IsIgnoreAllFields()) { diff --git a/src/app/valentina/mainwindow.cpp b/src/app/valentina/mainwindow.cpp index df76f1e83..1c4406dfe 100644 --- a/src/app/valentina/mainwindow.cpp +++ b/src/app/valentina/mainwindow.cpp @@ -5281,7 +5281,7 @@ bool MainWindow::DoExport(const VCommandLinePtr &expParams) else { auto settings = expParams->DefaultGenerator(); - settings->SetTestAsPaths(expParams->IsTextAsPaths()); + settings->SetTextAsPaths(expParams->IsTextAsPaths()); if (LayoutSettings(*settings.get())) { diff --git a/src/libs/vlayout/vlayoutgenerator.cpp b/src/libs/vlayout/vlayoutgenerator.cpp index 5a8c3715e..736d47624 100644 --- a/src/libs/vlayout/vlayoutgenerator.cpp +++ b/src/libs/vlayout/vlayoutgenerator.cpp @@ -271,7 +271,7 @@ bool VLayoutGenerator::IsTestAsPaths() const } //--------------------------------------------------------------------------------------------------------------------- -void VLayoutGenerator::SetTestAsPaths(bool value) +void VLayoutGenerator::SetTextAsPaths(bool value) { textAsPaths = value; } diff --git a/src/libs/vlayout/vlayoutgenerator.h b/src/libs/vlayout/vlayoutgenerator.h index 6274c92d5..322cb8b94 100644 --- a/src/libs/vlayout/vlayoutgenerator.h +++ b/src/libs/vlayout/vlayoutgenerator.h @@ -112,7 +112,7 @@ public: void SetStripOptimization(bool value); bool IsTestAsPaths() const; - void SetTestAsPaths(bool value); + void SetTextAsPaths(bool value); signals: void Start();