--- a/src/eric7/PdfViewer/PdfViewerWindow.py Fri Oct 25 09:47:48 2024 +0200 +++ b/src/eric7/PdfViewer/PdfViewerWindow.py Fri Oct 25 17:58:59 2024 +0200 @@ -1234,9 +1234,9 @@ ) dlg = ConfigurationDialog( - None, - "Configuration", - True, + parent=self, + name="Configuration", + modal=True, fromEric=False, displayMode=ConfigurationMode.PDFVIEWERMODE, ) @@ -1355,7 +1355,7 @@ dlg = PdfGoToDialog( self.__view.pageNavigator().currentPage(), self.__pdfDocument.pageCount(), - self, + parent=self, ) if dlg.exec() == QDialog.DialogCode.Accepted: page = dlg.getPage()