Skip to content

Commit

Permalink
Indicate that the name changed after the reply is returned
Browse files Browse the repository at this point in the history
Signed-off-by: Geoff Hutchison <[email protected]>
  • Loading branch information
ghutchis committed Oct 28, 2024
1 parent 60e14da commit c4df3d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions avogadro/qtplugins/molecularproperties/molecularmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ void MolecularModel::updateNameReady(QNetworkReply* reply)
}
}

emit dataChanged(index(Name, 0), index(Name, 0));

reply->deleteLater();
}

Expand Down

1 comment on commit c4df3d7

@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.