--- a/ProjectFlask/FlaskConfigDialog.py Sat Dec 23 17:08:59 2023 +0100 +++ b/ProjectFlask/FlaskConfigDialog.py Mon Oct 28 17:11:28 2024 +0100 @@ -101,13 +101,15 @@ ericProject = ericApp().getObject("Project") dlg = FlaskVirtualenvConfigurationDialog( - ericProject.getProjectPath(), ericProject.getProjectName(), self + ericProject.getProjectPath(), ericProject.getProjectName(), parent=self ) if dlg.exec() == QDialog.DialogCode.Accepted: resultDict = dlg.getData() # now do the call - dia = VirtualenvExecDialog(resultDict, self.__virtualEnvManager, self) + dia = VirtualenvExecDialog( + resultDict, self.__virtualEnvManager, parent=self + ) dia.show() dia.start(resultDict["arguments"]) dia.exec() @@ -142,7 +144,7 @@ else: args = ["-m", "pip", "install"] args.append("flask") - dia = PipDialog(self.tr("Install Flask"), self) + dia = PipDialog(self.tr("Install Flask"), parent=self) res = dia.startProcess(interpreter, args) if res: dia.exec()