Skip to content

Commit

Permalink
Re-enable CML fragments in case someone has old files
Browse files Browse the repository at this point in the history
Signed-off-by: Geoff Hutchison <[email protected]>
  • Loading branch information
ghutchis committed Oct 4, 2023
1 parent 630c1a8 commit ace9588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avogadro/qtplugins/insertfragment/insertfragmentdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ InsertFragmentDialog::InsertFragmentDialog(QWidget* aParent, QString directory,
if (m_implementation->crystalFiles)
filters << "*.cif";
else
filters << "*.cjson";
filters << "*.cjson" << "*.cml";
m_implementation->model->setNameFilters(filters);

m_implementation->proxy = new SortFilterTreeProxyModel(this);
Expand Down

1 comment on commit ace9588

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ERROR: clang-format-diff detected formatting issues. See the artifact for a patch or run clang-format on your branch.

Please sign in to comment.