diff --git a/foqus_lib/gui/flowsheet/nodePanel.py b/foqus_lib/gui/flowsheet/nodePanel.py index 4d43f4bdd..e984ec93c 100644 --- a/foqus_lib/gui/flowsheet/nodePanel.py +++ b/foqus_lib/gui/flowsheet/nodePanel.py @@ -942,3 +942,14 @@ def updateConfigFile(self): # Write the modified content back to the file with open(self.configFile_edit.text(), "w", encoding="utf-8") as file: file.write(content) + + msgBox = QMessageBox() + msgBox.setWindowTitle("Aspen Consumer Configuration File") + dirname = os.path.dirname(self.configFile_edit.text()) + msgBox.setText( + "The Aspen Consumer configuration file has been successfully updated.\n" + "\nPlease make sure your changes are correct before loading it into Aspen.\n" + "\nA backup of the old version has been saved in the directory below:\n" + "\n" + dirname + ) + msgBox.exec_() diff --git a/foqus_lib/gui/flowsheet/nodePanel_UI.ui b/foqus_lib/gui/flowsheet/nodePanel_UI.ui index 941ae3d47..7388cf767 100644 --- a/foqus_lib/gui/flowsheet/nodePanel_UI.ui +++ b/foqus_lib/gui/flowsheet/nodePanel_UI.ui @@ -441,7 +441,7 @@ - 3 + 0 @@ -925,7 +925,7 @@ 0 0 3370 - 367 + 879