From 341212b50285560fdc9bf0acf408b97c5d19bab9 Mon Sep 17 00:00:00 2001 From: Maciej Bartkowiak Date: Mon, 11 Mar 2024 10:00:37 +0000 Subject: [PATCH] Block editing of atom names in AtomProperties --- MDANSE_GUI/Src/MDANSE_GUI/MolecularViewer/AtomProperties.py | 1 + 1 file changed, 1 insertion(+) diff --git a/MDANSE_GUI/Src/MDANSE_GUI/MolecularViewer/AtomProperties.py b/MDANSE_GUI/Src/MDANSE_GUI/MolecularViewer/AtomProperties.py index 9b64428a66..e5cd38e45b 100644 --- a/MDANSE_GUI/Src/MDANSE_GUI/MolecularViewer/AtomProperties.py +++ b/MDANSE_GUI/Src/MDANSE_GUI/MolecularViewer/AtomProperties.py @@ -67,6 +67,7 @@ def set_values( ) -> List[QStandardItem]: self._indices = indices name_item = QStandardItem(str(name)) + name_item.setEditable(False) colour_item = QStandardItem(str(colour)) size_item = QStandardItem(str(size)) self._items = [name_item, colour_item, size_item]