src/eric7/Preferences/ConfigurationPages/InterfaceLightPage.py

branch
eric7
changeset 11006
a671918232f3
parent 10926
9ef616cd220d
--- a/src/eric7/Preferences/ConfigurationPages/InterfaceLightPage.py	Fri Oct 25 09:47:48 2024 +0200
+++ b/src/eric7/Preferences/ConfigurationPages/InterfaceLightPage.py	Fri Oct 25 17:58:59 2024 +0200
@@ -203,7 +203,7 @@
         """
         Private slot to select the icon bar color.
         """
-        colDlg = QColorDialog(self)
+        colDlg = QColorDialog(parent=self)
         # Set current colour last to avoid conflicts with alpha channel
         colDlg.setCurrentColor(self.__iconBarColor)
         if colDlg.exec() == QDialog.DialogCode.Accepted:

eric ide

mercurial