diff -r d3bedd175c99 -r 0ae07748dbe8 eric7/Plugins/PluginWizardQFileDialog.py --- a/eric7/Plugins/PluginWizardQFileDialog.py Sat Jul 10 11:41:13 2021 +0200 +++ b/eric7/Plugins/PluginWizardQFileDialog.py Sat Jul 10 12:31:31 2021 +0200 @@ -47,7 +47,7 @@ super().__init__(ui) self.__ui = ui - # PyQt5 + # PyQt5/PyQt6 self.__pyqtRe = re.compile(r"(?:import|from)\s+PyQt([56])") def activate(self): @@ -125,7 +125,7 @@ @param editor reference to the current editor @type Editor @param variant variant of code to be generated - (-1 = EricFileDialog, 0 = unknown, 5 = PyQt5) + (-1 = EricFileDialog, 0 = unknown, 5 = PyQt5, 6 = PyQt6) @type int @return the generated code (string) """