From 5e07d708db9c17b86ab26b5955e7c819803e77b3 Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Mon, 1 Feb 2021 00:26:18 -0600 Subject: [PATCH] Remove extraneous lines from export Corrects a merge issue from an earlier PR: the removed lines are redundant. --- src/Gui/Application.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Gui/Application.cpp b/src/Gui/Application.cpp index 299c61906c..6fd86ecd84 100644 --- a/src/Gui/Application.cpp +++ b/src/Gui/Application.cpp @@ -773,9 +773,6 @@ void Application::exportTo(const char* FileName, const char* DocName, const char std::string code = str.str(); // the original file name is required Gui::Command::runCommand(Gui::Command::App, code.c_str()); - // search for a module that is able to open the exported file because otherwise - // it doesn't need to be added to the recent files list (#0002047) - std::map importMap = App::GetApplication().getImportFilters(te.c_str()); auto parameterGroup = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/General"); bool addToRecent = parameterGroup->GetBool("RecentIncludesExported", false);