--- a/src/eric7/UI/BrowserModel.py Thu Jan 12 14:01:40 2023 +0100 +++ b/src/eric7/UI/BrowserModel.py Thu Jan 12 18:08:12 2023 +0100 @@ -1394,6 +1394,15 @@ """ return self.fileext == ".svg" + def isPdfFile(self): + """ + Public method to check, if this file is a PDF file. + + @return flag indicating a PDF file + @rtype bool + """ + return self.fileext == ".pdf" + def isDFile(self): """ Public method to check, if this file is a D file.