Skip to content
Snippets Groups Projects
Commit 0527af80 authored by Studer Gabriel's avatar Studer Gabriel
Browse files

fix surface calculation widget

parent 40565307
No related branches found
No related tags found
No related merge requests found
...@@ -179,7 +179,7 @@ class CalculateSurfaceSettingsDialog(QtWidgets.QDialog): ...@@ -179,7 +179,7 @@ class CalculateSurfaceSettingsDialog(QtWidgets.QDialog):
cancel_btn.clicked.connect(self.reject) cancel_btn.clicked.connect(self.reject)
def GetPath(self): def GetPath(self):
path=QtWidgets.QFileDialog().getOpenFileName(self, "Choose MSMS Executable") path, _ =QtWidgets.QFileDialog.getOpenFileName(self, "Choose MSMS Executable")
if path!='': if path!='':
self.msmsexe_field.setText(path) self.msmsexe_field.setText(path)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment