Skip to content

Commit 9434c65

Browse files
make text box stay open
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
1 parent 58fe058 commit 9434c65

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

openmc_plotter/main_window.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1247,6 +1247,7 @@ def viewMaterialProps(self, id):
12471247
for nuc, dens in zip(mat.nuclides, mat.densities):
12481248
msg_str += f'{nuc}: {dens:5.3e}\n'
12491249

1250-
msg_box = QMessageBox()
1250+
msg_box = QMessageBox(self)
12511251
msg_box.setText(msg_str)
1252-
msg_box.exec_()
1252+
msg_box.setModal(False)
1253+
msg_box.show()

0 commit comments

Comments
 (0)