eric6/Project/ProjectResourcesBrowser.py

changeset 7759
51aa6c6b66f7
parent 7635
0cdead130a81
child 7780
41420f82c0ac
--- a/eric6/Project/ProjectResourcesBrowser.py	Mon Oct 05 19:51:55 2020 +0200
+++ b/eric6/Project/ProjectResourcesBrowser.py	Tue Oct 06 17:52:44 2020 +0200
@@ -538,7 +538,7 @@
                 " project?"),
             files)
         
-        if dlg.exec_() == QDialog.Accepted:
+        if dlg.exec() == QDialog.Accepted:
             for fn2, fn in zip(fullNames, files):
                 self.closeSourceWindow.emit(fn2)
                 self.project.deleteFile(fn)
@@ -928,7 +928,7 @@
         params = self.project.pdata["RCCPARAMS"]
         
         dlg = RccCompilerOptionsDialog(params)
-        if dlg.exec_() == QDialog.Accepted:
+        if dlg.exec() == QDialog.Accepted:
             threshold, compression, noCompression, root = dlg.getData()
             if threshold != params["CompressionThreshold"]:
                 params["CompressionThreshold"] = threshold

eric ide

mercurial