From 658483ca44960632b7fec6287333e2314c84d4aa Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Wed, 24 Jul 2024 11:50:59 -0500 Subject: [PATCH] Small updates for formatting/behavior --- openmc_plotter/docks.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openmc_plotter/docks.py b/openmc_plotter/docks.py index 48e3701..ecc9e04 100644 --- a/openmc_plotter/docks.py +++ b/openmc_plotter/docks.py @@ -51,10 +51,12 @@ def __init__(self, model, font_metric, parent=None): for mesh_id in self.model.cpp_mesh_ids(): mesh_item = QTreeWidgetItem(self.meshTree, (f'Mesh {mesh_id}',)) mesh_item.setFlags(mesh_item.flags() | QtCore.Qt.ItemIsUserCheckable) - mesh_item.setCheckState(0, QtCore.Qt.Checked) + mesh_item.setCheckState(0, QtCore.Qt.Unchecked) self.mesh_items.append((mesh_id, mesh_item)) self.meshTree.addTopLevelItem(mesh_item) + self.meshTree.setHeaderHidden(True) + # Create submit button self.applyButton = QPushButton("Apply Changes") # Mac bug fix