diff --git a/lasagna/plugins/registration_plugins/elastix_plugin.py b/lasagna/plugins/registration_plugins/elastix_plugin.py index 25d8f15..1ba95df 100644 --- a/lasagna/plugins/registration_plugins/elastix_plugin.py +++ b/lasagna/plugins/registration_plugins/elastix_plugin.py @@ -307,7 +307,7 @@ def loadParamFile_slot(self, selectedParamFiles=False): 3. Create an editable copy in a tempoary location """ if not selectedParamFiles: - selectedParamFiles = QtGui.QFileDialog.getOpenFileNames(self, "Select parameter file", "Text files (*.txt *.TXT *.ini *.INI)") + selectedParamFiles, filter_used = QtGui.QFileDialog.getOpenFileNames(self, "Select parameter file", "Text files (*.txt *.TXT *.ini *.INI)") # Add to list for path_to_param_file in selectedParamFiles: