diff -r b918c6c2736b -r a671918232f3 src/eric7/Preferences/ConfigurationPages/InterfaceLightPage.py --- 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: