From ace9588775b3be4a121c03c90c0d5eeb9d06337e Mon Sep 17 00:00:00 2001 From: Geoff Hutchison Date: Wed, 4 Oct 2023 11:30:27 -0400 Subject: [PATCH] Re-enable CML fragments in case someone has old files Signed-off-by: Geoff Hutchison --- avogadro/qtplugins/insertfragment/insertfragmentdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avogadro/qtplugins/insertfragment/insertfragmentdialog.cpp b/avogadro/qtplugins/insertfragment/insertfragmentdialog.cpp index 4b1c5de537..c9e9962f2b 100644 --- a/avogadro/qtplugins/insertfragment/insertfragmentdialog.cpp +++ b/avogadro/qtplugins/insertfragment/insertfragmentdialog.cpp @@ -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);