eric6/Project/UicCompilerOptionsDialog.py

changeset 7907
7991ea245c20
parent 7780
41420f82c0ac
child 7923
91e843545d9a
--- a/eric6/Project/UicCompilerOptionsDialog.py	Mon Dec 21 13:36:24 2020 +0100
+++ b/eric6/Project/UicCompilerOptionsDialog.py	Tue Dec 22 19:59:29 2020 +0100
@@ -34,8 +34,8 @@
         self.packageRootEdit.setText(compilerOptions["PackagesRoot"])
         self.suffixEdit.setText(compilerOptions["RcSuffix"])
         
-        if 'uic5' not in compiler:
-            self.packageGroup.setEnabled(False)
+        self.packageGroup.setEnabled('uic5' in compiler)
+        self.suffixGroup.setEnabled('uic6' not in compiler)
         
         msh = self.minimumSizeHint()
         self.resize(max(self.width(), msh.width()), msh.height())

eric ide

mercurial