Skip to content

Commit

Permalink
Merge pull request #1359 from ghutchis/add-cml-fragments
Browse files Browse the repository at this point in the history
Re-enable CML fragments in case someone has old files
  • Loading branch information
ghutchis authored Oct 7, 2023
2 parents 79e1641 + ace9588 commit 306af95
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

0 comments on commit 306af95

Please sign in to comment.