From c4df3d725f05094be70f9ddbd9a3d67a4ea9b21d Mon Sep 17 00:00:00 2001 From: Geoff Hutchison Date: Mon, 28 Oct 2024 17:03:08 -0400 Subject: [PATCH] Indicate that the name changed after the reply is returned Signed-off-by: Geoff Hutchison --- avogadro/qtplugins/molecularproperties/molecularmodel.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/avogadro/qtplugins/molecularproperties/molecularmodel.cpp b/avogadro/qtplugins/molecularproperties/molecularmodel.cpp index 38de1d849f..b9b78072b6 100644 --- a/avogadro/qtplugins/molecularproperties/molecularmodel.cpp +++ b/avogadro/qtplugins/molecularproperties/molecularmodel.cpp @@ -135,6 +135,8 @@ void MolecularModel::updateNameReady(QNetworkReply* reply) } } + emit dataChanged(index(Name, 0), index(Name, 0)); + reply->deleteLater(); }