Skip to content

Commit

Permalink
[TD]remove unsupported file type from dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
WandererFan committed Jul 25, 2023
1 parent 13d6615 commit cd710bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/TechDraw/Gui/Command.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ void CmdTechDrawPageTemplate::activated(int iMsg)
QString templateDir = Preferences::defaultTemplateDir();
QString templateFileName = Gui::FileDialog::getOpenFileName(
Gui::getMainWindow(), QString::fromUtf8(QT_TR_NOOP("Select a Template File")), templateDir,
QString::fromUtf8(QT_TR_NOOP("Template (*.svg *.dxf)")));
QString::fromUtf8(QT_TR_NOOP("Template (*.svg)")));
Gui::FileDialog::setWorkingDirectory(work_dir);// Don't overwrite WD with templateDir

if (templateFileName.isEmpty()) {
Expand Down

0 comments on commit cd710bd

Please sign in to comment.