def process_config(self, process):
"""
Open the B3 instance configuration file.
"""
if not process.isFlag(CONFIG_FOUND):
msgbox = QMessageBox()
msgbox.setIcon(QMessageBox.Warning)
msgbox.setWindowTitle('WARNING')
msgbox.setText('Missing %s configuration file' % process.name)
msgbox.setStandardButtons(QMessageBox.Ok)
msgbox.exec_()
else:
B3App.Instance().openpath(process.config.fileName)
评论列表
文章目录